Base interface for schedulers.
The following schedulers are provided by the library:
mainScheduler
computationScheduler
ioScheduler
trampolineScheduler
singleScheduler
newThreadScheduler
Base interface for Scheduler executors. All tasks are executed synchronously one by one, never concurrently. Executors must be disposed when they are no longer needed.
Destroys the scheduler
Creates a new instance of Executor. Throws an exception if Scheduler is destroyed.