Instance Property

interruptionHandler

An interruption handler that is called if the remote process exits or crashes.

Declaration

var interruptionHandler: (() -> Void)? { get set }

Discussion

It may be possible to re-establish the connection by simply sending another message. The handler is invoked on the same queue as reply messages and other handlers, and it is always executed after any other messages or reply block handlers (except for the invalidation handler).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software