ForkJoin::ExecutionContext::Scheduler
Inherits Fiber::ExecutionContext::Scheduler < Reference < Object
Instance methods
Suspends the current fiber and resumes fiber instead. The current fiber will never be resumed; you're responsible to reenqueue it.
Unsafe. Must only be called on ExecutionContext.current. Prefer
ExecutionContext.enqueue instead.
Suspends the execution of the current fiber and resumes the next runnable fiber.
Unsafe. Must only be called on ExecutionContext.current. Prefer
ExecutionContext.reschedule instead.
Suspends the execution of the current fiber and resumes fiber.
The current fiber will never be resumed; you're responsible to reenqueue it.
Unsafe. Must only be called on ExecutionContext.current. Prefer
ExecutionContext.resume instead.
Instantiates a fiber and enqueues it into the scheduler's local queue.
Legacy support for the same_thread argument. Each execution context may decide to support it or not (e.g. a single threaded context can accept it).
Returns the current status of the scheduler. For example "running",
"event-loop" or "parked".