[]
        
(Showing Draft Content)

ReportViewer.CancellationToken

Class: CancellationToken

ReportViewer.CancellationToken

Cancellation token.

Table of contents

속성

메소드

Properties

isCancellationRequested

Readonly isCancellationRequested: boolean


parentToken

Optional Readonly parentToken: CancellationToken

The parent token


promise

Readonly promise: Promise<any>

Methods

register

register(callback): void

Registers a new cancellation handler. Handler is invoked when cancellation is requested.

Parameters

Name Type
callback (reason: any) => any

Returns

void


create

Static create(parentToken?): Object

Creates a cancellation token and trigger function.

Parameters

Name Type Description
parentToken? CancellationToken The parent token.

Returns

Object

Name Type
token CancellationToken
cancel (e: any) => void
X

카카오톡 채널 추가를 통해 GrapeCity의 최신 정보를 빠르게 받아 보세요!