• Creates an event processor that passes events incoming from AfterEvent keeper until the required supply is cut off.

    The outgoing events supply will be cut off once incoming event supply does, unless a second supply passed in. In the latter case that supply will be cut off instead.

    Type Parameters

    • TEvent extends any[]

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

    Parameters

    • required: SupplyPeer

      A peer of required event supply. The returned processor does nothing when alwaysSupply() specified.

    • Optional dependentSupply: Supply

      The supply to cut off on cutting off the incoming events supply.

    Returns ((this, input) => AfterEvent<TEvent>)

    New event mapper.

Generated using TypeDoc