Aller au contenu
Français

Dispatcher

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/Dispatcher.ts:6

A Dispatcher schedules the execution of actor message-processing units. In a single-threaded JS runtime we pick between the microtask queue and setImmediate to balance throughput against fairness with I/O.

readonly id: string

Defined in: src/Dispatcher.ts:7

execute(fn): void

Defined in: src/Dispatcher.ts:9

Schedule a unit of work to be executed asynchronously.

() => void | Promise<void>

void