SwiftinitlibswiftXPCXPC.XPCSession

init

XPC.XPCSession.__allocating_init(fromConnection: OS_xpc_object, targetQueue: OS_dispatch_queue?, options: XPC.XPCSession.InitializationOptions, incomingMessageHandler: ((XPC.XPCReceivedMessage) -> Encodable?)?, cancellationHandler: ((XPC.XPCRichError) -> ())?) throws -> XPC.XPCSession

Structure

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

param{}

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

result{}