DispatchWorkItem

Abstracts away a future task

Inheritors

Properties

Link copied to clipboard
abstract val isCancelled: Boolean

True if the work item has been cancelled

Functions

Link copied to clipboard
abstract fun cancel()

Cancels the item from executing