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{}
- conformance:genericParameter
AprotocolSwift.Sendable - conformance:genericParameter
BprotocolSwift.Error
param{}
- 0over:
- 1perform:function
(XPCDistributed.XPCSystem.Session.RemoteInterface) async throws(B) -> Aasyncthrows- throwngenericParameter
B - returnsgenericParameter
A
result{}
enumSwift.Result
- arggenericParameter
A - arggenericParameter
B