synchronousRemoteObjectProxyWithErrorHandler(_:)
Returns a proxy that makes a synchronous IPC call instead of the default async behavior.
Declaration
func synchronousRemoteObjectProxyWithErrorHandler(_ handler: @escaping (any Error) -> Void) -> AnyDiscussion
The error handler block and reply block will be invoked on the calling thread before the message to the proxy returns, instead of on the queue for the connection.