Class BaseSignal<T>Abstract

Abstract base class for signal implementations managing the callability of the signal object and internal management of the signal value including the observability of it through in internally created shared observable.

Type Parameters

  • T = unknown

Hierarchy (View Summary)

Implements

Constructors

Methods

Constructors

Methods

  • Returns boolean

    True if signal is observed (has subscribed observers) or false if not.

  • Sets the value.

    Parameters

    • value: T

      The value to set.

    Returns this

  • Parameters

    • ...args:
          | [Observer<T>]
          | [
              (value: T) => void,
              error?: (error: Error) => void,
              complete?: () => void,
          ]

    Returns Unsubscribable