• A processor of the first event incoming from OnEvent sender.

    Cuts off the outgoing event supply after sending the first event.

    Type Parameters

    • TEvent extends any[]

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

    Parameters

    • supplier: OnEvent<TEvent>

      Event sender to receive an event from.

    Returns OnEvent<TEvent> | AfterEvent<TEvent>

    New sender of the first event.

Generated using TypeDoc