yield

fnvoid yield() nothrow

If the caller is a Fiber and is not a Generator, this function will call scheduler.yield() or Fiber.yield(), as appropriate.

fnvoid yield(T)(ref T value)

Yields a value of type T to the caller of the currently executing generator.

Parameters

valueThe value to yield.
fnvoid yield(T)(T value)

ditto