CancellationToken

interface CancellationToken

Implemented by classes that contain some form of cancellation logic.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun cancel()

Execute the cancellation logic.

Properties

Link copied to clipboard
abstract val isCanceled: Boolean

Whether the cancel() method has already been called and the cancellation logic successfully executed.