Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MultiObserver<T>

Represent a list of observers registered to multiple Observables object.

Type parameters

  • T

Hierarchy

  • MultiObserver

Index

Methods

Methods

disposeSearch playground for dispose

  • dispose(): void
  • Release associated resources

    Returns void

Static WatchSearch playground for Watch

  • 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

        • 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

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method