fiber_yield

Function fiber_yield 

Source
pub fn fiber_yield()
Expand description

Yield control to the scheduler.

Return control to another fiber and wait until it’ll be woken. Equivalent to fiber.sleep(0).

See also: Fiber::wakeup()