Reference
Classes
Subscription

Class: Subscription<CallbackArgType>

Type Parameters

Type Parameter
CallbackArgType

Constructors

new Subscription()

new Subscription<CallbackArgType>(observer, callback): Subscription<CallbackArgType>

Parameters

ParameterType
observerObservable<CallbackArgType>
callback(arg) => unknown

Returns

Subscription<CallbackArgType>

Defined in

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

Properties

PropertyModifierTypeDefined in
_idreadonlystringsrc/core/classes/Observable.ts:6 (opens in a new tab)
callbackpublic(arg: CallbackArgType) => unknownsrc/core/classes/Observable.ts:10 (opens in a new tab)
observerreadonlyObservable<CallbackArgType>src/core/classes/Observable.ts:9 (opens in a new tab)

Methods

remove()

remove(): boolean

Returns

boolean

Defined in

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