Protocols
The following protocols are available globally.
-
Provides
See morecatch
andrecover
to your object that conforms toCancellableThenable
Declaration
Swift
public protocol CancellableCatchMixin : CancellableThenable
-
Use this protocol to define cancellable tasks for CancellablePromise.
See moreDeclaration
Swift
public protocol CancellableTask
-
CancellableThenable represents an asynchronous operation that can be both chained and cancelled. When chained, all CancellableThenable members of the chain are cancelled when
See morecancel
is called on the associated CancelContext.Declaration
Swift
public protocol CancellableThenable : AnyObject