Is the StackedCancelable
that accumulates cancelable
actions, to be triggered if cancellation happens.
Options passed to the run-loop implementation, determining its behavior. See IOOptions for the available options.
The Scheduler
in charge of evaluating asynchronous boundaries
on run
.
Resets the stored frameIndex
.
Calling this method inside the logic of a IO.asyncUnsafe
lets the run-loop know that an async boundary happened. This
works in tandem with the logic for ExecutionModel.batched(n)
,
for better detection of synchronous cycles, to avoid introducing
forced async boundaries where not needed.
Returns true
in case the run-loop should be canceled,
but this can only happen if autoCancelableRunLoops
is
set to true
.
Generated using TypeDoc
The
Context
under which IO is supposed to be executed.This definition is of interest only when creating tasks with IO.asyncUnsafe, which exposes internals and is considered unsafe to use.