AnyPromise

class AnyPromise : NSObject
  • Declaration

    Swift

    public convenience init<U>(_ bridge: U) where U : Thenable

    Return Value

    A new AnyPromise bound to a Promise<Any>.

  • Declaration

    Swift

    public func pipe(to body: @escaping (Result<Any?>) -> Void)
  • box

    Undocumented

    Declaration

    Swift

    var box: Box<Any?> { get }
  • Declaration

    Swift

    public var result: Result<Any?>? { get }
  • T

    Declaration

    Swift

    public typealias T = Any?
  • Declaration

    Swift

    override open var description: String { get }

    Return Value

    A description of the state of this promise.