Core Components

  • A Promise is a functional abstraction around a failable asynchronous operation.

    See

    Thenable
    See more

    Declaration

    Swift

    public final class Promise<T> : Thenable, CatchMixin
    extension Promise: CustomStringConvertible
    extension Promise: CustomDebugStringConvertible
  • A Guarantee is a functional abstraction around an asynchronous operation that cannot error.

    See

    Thenable
    See more

    Declaration

    Swift

    public final class Guarantee<T> : Thenable
  • Thenable represents an asynchronous operation that can be chained.

    See more

    Declaration

    Swift

    public protocol Thenable : AnyObject
  • Provides catch and recover to your object that conforms to Thenable

    See more

    Declaration

    Swift

    public protocol CatchMixin : Thenable
  • An object for resolving promises

    See more

    Declaration

    Swift

    public final class Resolver<T>