AnyFuture

public protocol AnyFuture : AnyObject

Type-erasure for Future<Value>

  • Indicates whether the future is pending

    Declaration

    Swift

    var isPending: Bool { get }
  • Indicates whether the future is fulfilled

    Declaration

    Swift

    var isFulfilled: Bool { get }
  • Indicates whether the future is rejected

    Declaration

    Swift

    var isRejected: Bool { get }