Class CollectorUntil0<THandler>

Keep signal emissions going while all handlers return true.

Typeparam

THandler The function signature to be implemented by handlers.

Type Parameters

  • THandler extends ((...args: any[]) => boolean)

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

emit: ((...args: Parameters<THandler>) => void)

Type declaration

    • (...args: Parameters<THandler>): void
    • Publish the bound signal event (call all handlers) to start the collection process.

      Method

      Parameters

      • Rest ...args: Parameters<THandler>

      Returns void

Methods

  • Get the result of the last signal handler.

    Returns boolean

  • Process the results of a handler invocation.

    Parameters

    • result: boolean

      true to continue processing handlers.

    Returns boolean

Generated using TypeDoc