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 morecatch
andrecover
to your object that conforms toCancellableThenable
Declaration
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 morecancel
is called on the associated CancelContext.Declaration
Swift
public protocol CancellableThenable : AnyObject
-
A
PromiseKit
abstraction of aDispatchQueue
that allows for a more flexible variety of implementations. (For technical reasons,DispatchQueue
itself cannot be subclassed.)Dispatcher
s define adispatch
method that executes a supplied closure. Execution may be synchronous or asynchronous, serial or concurrent, and can occur on any thread.All
See moreDispatchQueue
s are also validDispatcher
s.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