xpc_connection_resume(_:)
Resumes a suspended connection.
Declaration
func xpc_connection_resume(_ connection: xpc_connection_t)Parameters
- connection:
The connection object which is to be manipulated.
Discussion
In order for a connection to become live, every call to xpc_connection_suspend(_:) must be balanced with a call to xpc_connection_resume(_:) after the initial call to xpc_connection_resume(_:). After the initial resume of the connection, calling xpc_connection_resume(_:) more times than xpc_connection_suspend(_:) has been called is considered an error.