Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class Dispatcher

Responsible for sending messages from a Source to an associated worker source (usually with the same name).

Index
actors: Actor[]
currentActor: number
id: string | number
workerPool: WorkerPool
  • Acquires an actor to dispatch messages to. The actors are distributed in round-robin fashion.

    Returns Actor

    An actor object backed by a web worker for processing messages.

  • Parameters

    • OptionalmapRemoved: boolean

    Returns void

  • Type Parameters

    Parameters

    • type: T

    Returns void

Was this helpful?