Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • T

Hierarchy

  • DefaultValueProducer

Implements

  • Producer<T>

Index

Constructors

Accessors

Methods

Constructors

Accessors

  • get value(): T

Methods

  • error(error: any): void
  • start(listener: Listener<T>): void
  • Called by the stream. Do not call this directly.

    Parameters

    • listener: Listener<T>

    Returns void

  • stop(): void
  • Called by the stream. Do not call this directly.

    Returns void

  • update(value: T): 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