A dispatcher that dispatches to the current thread synchronously.

Constructor

new(scheduler:IScheduler)

Creates a new SelfDispatcher.

Methods

Inherited Variables

Defined by Dispatcher

read onlyscheduler:IScheduler

The scheduler associated with this dispatcher. In the general case, scheduling functions are unaware of dispatchers and it is the responsibility of the user to ensure correct code distribution. See haxe.coro.schedulers.IScheduler.schedule for details.

Inherited Methods