Fiber.yield

void yield() @trusted

Yield execution from the current fiber back to the caller.

This is a static method that yields from whatever fiber is currently executing. Must be called from within a fiber context.