Core Components
-
A
Promiseis a functional abstraction around a failable asynchronous operation.See moreSee
ThenableDeclaration
Swift
public final class Promise<T> : Thenable, CatchMixinextension Promise: CustomStringConvertibleextension Promise: CustomDebugStringConvertibleextension Promise: _PMKSharedWrappersextension Promise: _PMKCatchWrappersextension Promise: _PMKSharedVoidWrappers where T == Void -
Thenable represents an asynchronous operation that can be chained.
See moreDeclaration
Swift
public protocol Thenable : AnyObject -
An object for resolving promises
See moreDeclaration
Swift
public final class Resolver<T>
View on GitHub
Core Components Reference