SwiftstructCoreUtilsSwift

struct CoreUtilsSwift.CUXPCActorSystem.ResultHandler

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 9

  1. fieldlet callID: String+0x0
  2. fieldlet encoder: Foundation.JSONEncoder+0x10
  3. fieldlet label: String+0x18
  4. fieldlet xpcConnection: OS_xpc_object+0x28
  5. fieldlet xpcRequest: OS_xpc_object+0x30
  6. funconReturn<A where A: Decodable, A: Encodable>(value: A) async throws -> ()
  7. funconReturnVoid() async throws -> ()
  8. funconThrow<A where A: Error>(error: A) async throws -> ()
  9. typealiastypealias SerializationRequirement = Swift.Decodable & Swift.Encodable
struct CoreUtilsSwift.CUXPCActorSystem.ResultHandler {
    let callID: Swift.String
    let encoder: Foundation.JSONEncoder
    let label: Swift.String
    let xpcConnection: any __C.OS_xpc_object
    let xpcRequest: any __C.OS_xpc_object

    func onReturnVoid() async throws
    func onThrow<A>(error: A) async throws where A: Swift.Error
    func onReturn<A>(value: A) async throws where A: Swift.Decodable, A: Swift.Encodable
}