• Builds a next chained call of OnEventCallChain that calls the next pass with every event supplied by the given keeper.

    The event supply from the given keeper will be cut off each time the call is applied.

    This differs from nextOnEvent when passing supplier implementing both EventSender and EventKeeper interfaces such as ValueTracker. nextOnEvent would prefer the former, while this one would prefer the latter.

    Type Parameters

    • TEvent extends any[]

      An event type. This is a tuple of argument types of the next pass.

    Parameters

    • keeper: EventKeeper<TEvent>

      A keeper of events to pass down the chain.

    Returns NextCall<OnEventCallChain, TEvent>

    Next call passing events from the given keeper.

Generated using TypeDoc