• A processor of events incoming from AfterEvent keeper that shares outgoing events supply among all registered receivers.

    The created keeper receives events from this one and sends to registered receivers. The shared keeper registers a receiver in this one only once, when first receiver registered. And cuts off original events supply once all event supplies do.

    Type Parameters

    • TEvent extends any[]

      An event type. This is a list of event receiver parameter types.

    Parameters

    • supplier: AfterEvent<TEvent>

      Event keeper to share events from.

    Returns AfterEvent<TEvent>

    An AfterEvent keeper sharing a common supply of events.

Generated using TypeDoc