class CurrentThreadScheduler does Scheduler {}
CurrentThreadScheduler
executes tasks on the current threads. This means that method cue blocks until the code has finished executing.
Scheduler that synchronously executes code on the current thread
class CurrentThreadScheduler does Scheduler {}
CurrentThreadScheduler
executes tasks on the current threads. This means that method cue blocks until the code has finished executing.