Search
Preparing search index...
The search index is not available
@lxsmnsyc/future
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
WithCallbacksSubscription
Class WithCallbacksSubscription
A
Subscription
that allows cancellation callbacks.
Hierarchy
BooleanSubscription
WithCallbacksSubscription
Implements
Subscription
Index
Properties
listeners
state
Accessors
cancelled
Methods
add
Listener
cancel
remove
Listener
Properties
Private
listeners
listeners
:
Set
<
Action
>
= new Set<Action>()
Protected
state
state
:
boolean
= false
Accessors
cancelled
get
cancelled
(
)
:
boolean
Returns
boolean
Methods
add
Listener
add
Listener
(
callback
:
Action
)
:
void
Parameters
callback:
Action
Returns
void
cancel
cancel
(
)
:
void
Returns
void
remove
Listener
remove
Listener
(
callback
:
Action
)
:
void
Parameters
callback:
Action
Returns
void
Globals
With
Callbacks
Subscription
listeners
state
cancelled
add
Listener
cancel
remove
Listener
Generated using
TypeDoc
A Subscription that allows cancellation callbacks.