February 2020
Intermediate to advanced
412 pages
9h 36m
English
Each default Scheduler is lazily instantiated. The Scheduler created by the computation(), io(), newThread(), single(), or trampoline() factory method can be disposed of at any time by calling its shutdown() method. Alternatively, all created schedulers can be disposed of by calling Schedulers.shutdown(). This stops all their threads and forbids new tasks from coming in and throws an error if you try otherwise. You can also call their start() method, or Schedulersers.start(), to reinitialize the schedulers so that they can accept tasks again.
Read now
Unlock full access