Reactor.considerYield

Perform yield if fiber is running long enough.

Arguments and meaning are the same as for shouldYield.

struct Reactor
@safe @nogc
bool
considerYield
(
uint tolerance = 1
)

Return Value

Type: bool

Whether a yield actually took place.

Meta