Type Alias

xpc_connection_handler_t

Declaration

typealias xpc_connection_handler_t = (xpc_connection_t) -> Void

Parameters

connection

A new connection that is equivalent to one received by a listener connection. See the documentation for xpc_connection_set_event_handler(_:_:) for the semantics associated with the received connection.

Discussion

The type of the function that will be invoked for a bundled XPC service when there is a new connection on the service.