Reference
Classes
Observable

Class: Observable<CallbackArgType>

Type Parameters

Type Parameter
CallbackArgType

Constructors

new Observable()

new Observable<CallbackArgType>(): Observable<CallbackArgType>

Returns

Observable<CallbackArgType>

Properties

PropertyModifierTypeDefined in
subscriptionspublicCollection<Subscription<CallbackArgType>>src/core/classes/Observable.ts:19 (opens in a new tab)

Methods

notify()

notify(arg): void

Parameters

ParameterType
argCallbackArgType

Returns

void

Defined in

src/core/classes/Observable.ts:21 (opens in a new tab)


removeSubscription()

removeSubscription(subscription): boolean

Parameters

ParameterType
subscriptionstring | Subscription<CallbackArgType>

Returns

boolean

Defined in

src/core/classes/Observable.ts:27 (opens in a new tab)


subscribe()

subscribe(callback): Subscription<CallbackArgType>

Parameters

ParameterType
callback(arg) => unknown

Returns

Subscription<CallbackArgType>

Defined in

src/core/classes/Observable.ts:36 (opens in a new tab)