Cancelable

interface Cancelable

Interface for an cancelable operation.

Inheritors

Functions

Link copied to clipboard
abstract fun cancel(): Boolean
abstract fun cancel(mayInterruptIfRunning: Boolean): Boolean
Cancels the operation.
Link copied to clipboard
abstract fun isCancelled(): Boolean
Determines if the operation is canceled.
Link copied to clipboard
abstract fun isDone(): Boolean
Determines if the operation is canceled or completed.