Other Protocols
The following protocols are available globally.
-
Use this protocol to define cancellable tasks for CancellablePromise.
See moreDeclaration
Swift
public protocol Cancellable -
Provides
See morecatchandrecoverto your object that conforms toCancellableThenableDeclaration
Swift
public protocol CancellableCatchMixin : CancellableThenable -
CancellableThenable represents an asynchronous operation that can be both chained and cancelled. When chained, all CancellableThenable members of the chain are cancelled when
See morecancelis called on the associated CancelContext.Declaration
Swift
public protocol CancellableThenable : AnyObject -
A
PromiseKitabstraction of aDispatchQueuethat allows for a more flexible variety of implementations. (For technical reasons,DispatchQueueitself cannot be subclassed.)Dispatchers define adispatchmethod that executes a supplied closure. Execution may be synchronous or asynchronous, serial or concurrent, and can occur on any thread.All
See moreDispatchQueues are also validDispatchers.Declaration
Swift
public protocol Dispatcher -
///////////////////////////////////////////////////////// Cancellation An error that may represent the cancelled condition
See moreDeclaration
Swift
public protocol CancellableError : Error -
Undocumented
See moreDeclaration
Swift
public protocol _PMKCatchWrappers -
Undocumented
See moreDeclaration
Swift
public protocol _PMKSharedWrappers -
Undocumented
See moreDeclaration
Swift
public protocol _PMKFinallyWrappers -
Undocumented
See moreDeclaration
Swift
public protocol _PMKSharedVoidWrappers
View on GitHub
Other Protocols Reference