Classes

The following classes are available globally.

  • __AnyPromise is an implementation detail.

    Because of how ObjC/Swift compatability work we have to compose our AnyPromise with this internal object, however this is still part of the public interface. Sadly. Please don’t use it.

    See more

    Declaration

    Swift

    @objc(__AnyPromise)
    public class __AnyPromise : NSObject
  • 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
  • An object for resolving promises

    See more

    Declaration

    Swift

    public final class Resolver<T>