Preparing search index...
The search index is not available
TESSA Web API
TESSA Web API
Core.Scope
CancellationContext
Class CancellationContext
Hierarchy (
View Summary
)
ScopeContextBase
CancellationContext
Index
Constructors
constructor
Properties
on
Cancel
Accessors
parent
current
Context
current
Token
has
Current
Methods
cancel
dispose
get
Cancellation
Token
get
Signal
on
Scope
Dispose
on
Scope
Invoke
create
Constructors
constructor
new
CancellationContext
()
:
CancellationContext
Returns
CancellationContext
Properties
Readonly
on
Cancel
onCancel
:
EventHandler
<
CancellationContextEvent
,
CancellationContext
>
Accessors
parent
get
parent
()
:
null
|
CancellationContext
Returns
null
|
CancellationContext
Static
current
Context
get
currentContext
()
:
null
|
CancellationContext
Returns
null
|
CancellationContext
Static
current
Token
get
currentToken
()
:
CancellationToken
Returns
CancellationToken
Static
has
Current
get
hasCurrent
()
:
boolean
Returns
boolean
Methods
cancel
cancel
(
reason
?:
string
)
:
void
Parameters
Optional
reason
:
string
Returns
void
dispose
dispose
()
:
void
Returns
void
get
Cancellation
Token
getCancellationToken
()
:
CancellationToken
Returns
CancellationToken
get
Signal
getSignal
()
:
[
AbortSignal
,
VoidFunction
]
Returns
[
AbortSignal
,
VoidFunction
]
on
Scope
Dispose
onScopeDispose
(
scope
:
IScopeInstance
<
CancellationContext
>
)
:
void
Parameters
scope
:
IScopeInstance
<
CancellationContext
>
Returns
void
on
Scope
Invoke
onScopeInvoke
(
scope
:
IScopeInstance
<
ScopeContextBase
>
)
:
void
Parameters
scope
:
IScopeInstance
<
ScopeContextBase
>
Returns
void
Static
create
create
(
context
:
null
|
CancellationContext
)
:
IScopeInstance
<
CancellationContext
>
Parameters
context
:
null
|
CancellationContext
Returns
IScopeInstance
<
CancellationContext
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
on
Cancel
Accessors
parent
current
Context
current
Token
has
Current
Methods
cancel
dispose
get
Cancellation
Token
get
Signal
on
Scope
Dispose
on
Scope
Invoke
create
TESSA Web API
Loading...