A read only wrapper around DefaultValueProducer that allows to synchronously get the current value using the .value property and listen to updates by suscribing to the .updates stream

Type Parameters

  • T

Hierarchy

  • ValueAndUpdates

Constructors

Properties

Accessors

Methods

Constructors

Properties

updates: MemoryStream<T>

Accessors

Methods

  • Resolves as soon as search value is found.

    Returns

    the value of the update that caused the search match

    Parameters

    • search: T | SearchFunction<T>

      either a value or a function that must return true when found

    Returns Promise<T>

Generated using TypeDoc