CancellationToken

external interface CancellationToken(source)

Functions

Link copied to clipboard
abstract external fun isCancellationRequested(): Boolean
Link copied to clipboard
abstract external fun throwIfCancellationRequested()