• Simply takes a payload and passes it to all the listeners. Returns the results in an array that matches the indexes of the listeners.

    Returns

    Type Parameters

    • T

    • TResult

    Parameters

    • listeners: ArrayLike<Selector<T, TResult>>
    • payload: T
    • Optional trap: boolean | DispatchErrorHandler

    Returns TResult[]

Generated using TypeDoc