Class Collector<THandler>Abstract

Base class for collectors.

Typeparam

THandler The function signature to be implemented by handlers.

Type Parameters

  • THandler extends ((...args) => any)

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

emit: ((...args) => void)

Publish the bound signal event (call all handlers) to start the collection process.

Type declaration

    • (...args): void
    • Parameters

      Returns void

Method

Methods

  • Process the results of a handler invocation.

    Parameters

    • result: ReturnType<THandler>

      true to continue processing handlers.

    Returns boolean