FutureValue

@propertyWrapper
public class FutureValue<T>
extension FutureValue: Hashable where T: Hashable
extension FutureValue: Equatable where T: Equatable
extension FutureValue: CustomStringConvertible where T: CustomStringConvertible

Undocumented

  • Undocumented

    Declaration

    Swift

    public typealias Future = EventLoopFuture
  • Undocumented

    Declaration

    Swift

    public typealias Promise = EventLoopPromise
  • Undocumented

    Declaration

    Swift

    public internal(set) var wrappedValue: T? { get }
  • Undocumented

    Declaration

    Swift

    public var projectedValue: FutureValue<T> { get }
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func load() -> Future<T>
  • Undocumented

    Declaration

    Swift

    public func cancelLoading()

Available where T: Hashable

  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)

Available where T: Equatable

  • Declaration

    Swift

    public static func == (lhs: FutureValue<T>, rhs: FutureValue<T>) -> Bool

Available where T: CustomStringConvertible

  • Declaration

    Swift

    public var description: String { get }