AsyncOperationTask

interface AsyncOperationTask

Represents the result (task handle) of an asynchronous operation.

See also

Functions

cancel
Link copied to clipboard
abstract fun cancel()
Attempts to cancel execution of this task.

Properties

isCancelled
Link copied to clipboard
abstract val isCancelled: Boolean
Denotes whether this task was cancelled.
isDone
Link copied to clipboard
abstract val isDone: Boolean
Denotes whether this task completed.