MultiObserver<T>

Represent a list of observers registered to multiple Observables object.

Type parameters

  • T

Hierarchy

  • MultiObserver

Index

Methods

Methods

dispose

Find examples in Playground
  • dispose(): void
  • Release associated resources

    Returns void

Static Watch

Find examples in Playground
  • Raise a callback when one of the observable will notify

    Type parameters

    • T

    Parameters

    • observables: Observable<T>[]

      defines a list of observables to watch

    • callback: function

      defines the callback to call on notification

        • Parameters

          Returns void

    • Optional mask: number

      defines the mask used to filter notifications

    • Optional scope: any

      defines the current scope used to restore the JS context

    Returns MultiObserver<T>

    the new MultiObserver

Generated using TypeDoc