On this page

Class Dispatcher

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

Index

Constructors

Properties

actors: Actor[]
currentActor: number
id: string | number
workerPool: WorkerPool

Methods

  • 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?
SDK JS
Reference
Dispatcher