class CurrentThreadScheduler does Scheduler {}

CurrentThreadScheduler executes tasks on the current threads. This means that method cue blocks until the code has finished executing.