SwiftinitlibswiftXPCXPC.XPCSession

init

XPC.XPCSession.__allocating_init<A where A: Decodable>(xpcService: String, targetQueue: OS_dispatch_queue?, options: XPC.XPCSession.InitializationOptions, incomingMessageHandler: ((A) -> Encodable?)?, cancellationHandler: ((XPC.XPCRichError) -> ())?) throws -> XPC.XPCSession

Structure

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

generic{}

A

req{}

param{}

  1. 0xpcService:
  2. 1targetQueue:
  3. 2options:
  4. 3incomingMessageHandler:
  5. 4cancellationHandler:
    • argfunction(XPC.XPCRichError) -> ()escaping

result{}