The scheduler the current fiber runs on. The run functions provide it; providing another moves an effect's tasks, and its children's, onto that scheduler. The run still drives only its own scheduler, so a provided one must hand its tasks to it, as a wrapper around the current scheduler does.
Functions#
default#
default() -> SchedulerReturns Scheduler
@classmethod
def default(cls) -> Scheduler:
raise RuntimeError("no scheduler: run effects with run_sync, run_async or run_main")