CancellationTokenSource
constructor
- 语法:
new CancellationTokenSource(parent?): CancellationTokenSource
- 参数:
parent
: CancellationToken
token
- 语法:
token(): CancellationToken
- 返回值:CancellationToken
cancel
- 语法:
cancel(): void
dispose
- 语法:
dispose(cancel: boolean): void
- 参数:
cancel
:boolean