[]
ReportViewer.CancellationToken
Cancellation token.
• Optional
Readonly
parentToken: CancellationToken
The parent token
node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:191
• get
isCancellationRequested(): boolean
Gets true if cancellation is being requested.
boolean
node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:204
• get
promise(): Promise
<any
>
Gets a promise that is triggered when cancellation is requested.
Promise
<any
>
node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:208
▸ register(callback
): void
Registers a new cancellation handler. Handler is invoked when cancellation is requested.
Name | Type |
---|---|
callback |
(reason : any ) => any |
void
node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:213
▸ Static
create(parentToken?
): Object
Creates a cancellation token and trigger function.
Name | Type | Description |
---|---|---|
parentToken? |
CancellationToken |
The parent token. |
Object
Name | Type |
---|---|
token |
CancellationToken |
cancel |
(e : any ) => void |
node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:197