Type alias Sink<T>

Sink<T>: ((signal) => void)

Type Parameters

  • T

Type declaration

    • (signal): void
    • Callback function that is called by a Source with Signals.


      A Sink is a function that is called repeatedly with signals from a Source. It represents the receiver of the stream of signals/events coming from a Source.


      Signal for the data structure of signals.


      Returns void

Generated using TypeDoc