A collection of observers managed as a unit. This makes it convenient to deregister multiple observers when an object closes.

Constructors

Methods

Constructors

Methods

  • Remove a single observer.

    Type Parameters

    • T extends any[]

    Parameters

    • observable: Observable<T, void> | AsyncObservable<T, void>

      the observable to observe

    • observer: Observer<NoInfer<T>, void>

      the observer function

    • target: undefined | {} = ...

      if the observer was bound in on this must match the bound target

    Returns void