Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Collector<CB, RT>

Type parameters

  • CB: Function

  • RT

Hierarchy

  • Collector

Index

Constructors

Properties

Methods

Constructors

constructor

  • Create a new collector.

    Type parameters

    • CB: Function

    • RT

    Parameters

    • signal: Signal<CB>

      The signal to emit.

    Returns Collector<CB, RT>

Properties

Readonly emit

emit: CB

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

method

Methods

Abstract handleResult

  • handleResult(result: RT): boolean
  • Process the results of a handler invocation.

    Parameters

    • result: RT

      true to continue processing handlers.

    Returns boolean

Generated using TypeDoc