Class DefaultValueProducer<T>

Type Parameters

  • T

Hierarchy

  • DefaultValueProducer

Implements

  • Producer<T>

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Called by the stream. Do not call this directly.

    Parameters

    • listener: Listener<T>

    Returns void

  • Called by the stream. Do not call this directly.

    Returns void

  • Update the current value.

    If producer is active (i.e. someone is listening), this emits an event. If not, just the current value is updated.

    Parameters

    • value: T

    Returns void

Generated using TypeDoc