SwiftfuncXPCDistributedXPCDistributed.XPCSystem

withBidirectionalInterface

XPCDistributed.XPCSystem.withBidirectionalInterface<A, B where A: Sendable, B: XPCDistributed.XPCSystem.ConnectableService>(to: B, assumingPeerSatisfies: XPC.XPCPeerRequirement?, perform: @isolated(any) (__owned XPCDistributed.XPCSystem.Session.LocalInterface) async -> (result: A, token: XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken)) async throws(XPCDistributed.XPCSystem.SetupError) -> A

Structure

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

generic{}

AB

req{}

param{}

  1. 0to:
    genericParameterB
  2. 1assumingPeerSatisfies:
  3. 2perform:
    function@isolated(any) (__owned XPCDistributed.XPCSystem.Session.LocalInterface) async -> (result: A, token: XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken)asyncisolatedAny

result{}

genericParameterA