CancellableTask
public protocol CancellableTask
Use this protocol to define cancellable tasks for CancellablePromise.
-
Cancel the associated task
Declaration
Swift
func cancel() -
trueif the task was successfully cancelled,falseotherwiseDeclaration
Swift
var isCancelled: Bool { get }
View on GitHub
Install in Dash
CancellableTask Protocol Reference