FiberScheduler.schedule

Schedule a task to be run next time the scheduler yields

Behave similarly to spawn, but instead of running the task immediately, it simply adds it to the queue and continue executing the current task.

class FiberScheduler
nothrow
void
schedule
(
void delegate
()
op
)

Parameters

op void delegate
()

Operation to run

Meta