SwiftprotocolJetCore

protocol JetCore.Future

Members 5

  1. associatedtypeassociatedtype Value
  2. functhen() async throws -> A.Value
  3. funcmethod descriptor for then(perform: (A.Value) -> (), orCatchError: (Error) -> (), on: JetCore.TaskScheduler) -> ()
  4. funcmethod descriptor for then() async throws -> A.Value
  5. varvar result: A.Value { get }
protocol Future: AnyObject {
    associatedtype Value

    func then(perform: @escaping (_: Self.Value) -> (), orCatchError: @escaping (_: any Swift.Error) -> (), on: any JetCore.TaskScheduler)
    func then() async throws -> Self.Value
}
extension JetCore.Future {
    var result: Self.Value {
        get
    }

    func then() async throws -> Self.Value
}