SwiftfuncXPCDistributedXPCDistributed.XPCSystem

withRemoteInterface

XPCDistributed.XPCSystem.withRemoteInterface<A, B where A: Sendable, B: Error>(over: XPCDistributed.XPCSystem.Session, perform: (XPCDistributed.XPCSystem.Session.RemoteInterface) async throws(B) -> A) async throws(XPCDistributed.XPCSystem.SetupError) -> Result<A, B>

Structure

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

generic{}

AB

req{}

param{}

  1. 0over:
  2. 1perform:
    function(XPCDistributed.XPCSystem.Session.RemoteInterface) async throws(B) -> Aasyncthrows

result{}

  • arggenericParameterA
  • arggenericParameterB