ScheduledDispatchWorkItem

A DispatchWorkItem that wraps a ScheduledFuture<*> created by a ScheduledDispatchQueue

Constructors

Link copied to clipboard
constructor(scheduledFuture: ScheduledFuture<*>)

Properties

Link copied to clipboard
open override val isCancelled: Boolean

True if the work item has been cancelled

Functions

Link copied to clipboard
open override fun cancel()

Cancels the item from executing