Interface Combiner<T, TR>

The combiner is used to obtain the return value of the slot, and to determine whether to continue calling subsequent slots

Type Parameters

  • T

  • TR

Hierarchy

  • Combiner

Implemented by

Properties

Methods

Properties

after?: VoidCallback

Called after each execution of the combiner

before?: VoidCallback

Called before each execution of the combiner

value?: TR

Returns the final return value of the slot after the last signal is generated

Methods

  • Execute the combiner

    Parameters

    • val: T
    • iterator: Iterator<Slot<T, TR>, any, undefined>

    Returns void

Generated using TypeDoc