Runnable for execution.
the task to be executed
Submits a closure for execution.
the closure to be executed
Always active because it will just make a new scheduler if required
true, if the scheduler is active, otherwise false.
Registers a newly created actor with this scheduler.
Registers a closure to be executed when the specified actor terminates.
the closure to be registered
Shuts down the scheduler.
Unregisters an actor from this scheduler, because it has terminated.