Class: Subscription<CallbackArgType>
Type Parameters
Type Parameter |
---|
CallbackArgType |
Constructors
new Subscription()
new Subscription<
CallbackArgType
>(observer
,callback
):Subscription
<CallbackArgType
>
Parameters
Parameter | Type |
---|---|
observer | Observable <CallbackArgType > |
callback | (arg ) => unknown |
Returns
Subscription
<CallbackArgType
>
Defined in
src/core/classes/Observable.ts:8 (opens in a new tab)
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
_id | readonly | string | src/core/classes/Observable.ts:6 (opens in a new tab) |
callback | public | (arg : CallbackArgType ) => unknown | src/core/classes/Observable.ts:10 (opens in a new tab) |
observer | readonly | Observable <CallbackArgType > | src/core/classes/Observable.ts:9 (opens in a new tab) |
Methods
remove()
remove():
boolean
Returns
boolean