The error handler for the fatal errors not passed to isolates.
The error handler for the fatal errors not passed to isolates.
Initiates the isolate frame.
Initiates the isolate frame. Clients never call this method directly.
The scheduler can use the schedulerInfo
field of the isolate frame
to store its custom configuration objects for this isolate frame.
For example, a Scheduler
based on a Java Executor
would typically
store a Runnable
object here and later use it from the schedule
method.
the isolate frame to initiate
Schedules an isolate frame for execution.
(piggyback: StringAdd).self
(piggyback: StringFormat).self
(piggyback: ArrowAssoc[Piggyback]).x
(Since version 2.10.0) Use leftOfArrow
instead
(piggyback: Ensuring[Piggyback]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Executes the isolate on the thread that called the isolate system's
isolate
method to create the isolate.While isolates are generally sent off to some other thread or computer for execution after the isolate has been created, this scheduler executes the isolate on the current thread.
The current thread is permanently blocked until the isolate terminates. Using this scheduler from an existing isolate is illegal and throws an exception. This scheduler is meant to be used to turn the application main thread into an isolate, i.e. to step from the normal multithreaded world into the isolate universe.