API

Class MultiObserver<T>

Represent a list of observers registered to multiple Observables object.

Type Parameters

  • T
Index
  • 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: (eventData: T, eventState: EventState) => void

      defines the callback to call on notification

    • mask: number = -1

      defines the mask used to filter notifications

    • scope: any = null

      defines the current scope used to restore the JS context

    Returns MultiObserver<T>

    the new MultiObserver