Hierarchy

Constructors

Properties

_checkQueueTimeout: any = 0
_commandsToSendNow: {
    [queueId: string]: (() => Promise<any>)[];
} = {}

Type declaration

  • [queueId: string]: (() => Promise<any>)[]
_i: number = 0
_queues: {
    [queueId: string]: {
        [id: string]: DoOrder;
    };
} = {}

Type declaration

  • [queueId: string]: {
        [id: string]: DoOrder;
    }
    • [id: string]: DoOrder
_sendMode: SendMode
_sendingCommands: {
    [queueId: string]: boolean;
} = {}

Type declaration

  • [queueId: string]: boolean
getCurrentTime: (() => number)

Type declaration

    • (): number
    • Returns number

Methods

  • Calls each of the listeners registered for a given event.

    Type Parameters

    Parameters

    Returns boolean

  • Return an array listing the events for which the emitter has registered listeners.

    Returns (keyof DoOnTimeEvents)[]

  • Return the number of listeners listening to a given event.

    Parameters

    Returns number

  • Return the listeners registered for a given event.

    Type Parameters

    Parameters

    • event: T

    Returns ((...args: ArgumentMap<DoOnTimeEvents>[Extract<T, keyof DoOnTimeEvents>]) => void)[]

  • Remove all listeners, or those of the specified event.

    Parameters

    Returns DoOnTime

Generated using TypeDoc