DispatchWorkItem

interface DispatchWorkItem

Abstracts away a future task

Functions

cancel
Link copied to clipboard
abstract fun cancel()
Cancels the item from executing

Properties

isCancelled
Link copied to clipboard
abstract val isCancelled: Boolean
True if the work item has been cancelled

Inheritors

ScheduledDispatchWorkItem
Link copied to clipboard