Is XPC_ERROR_TERMINATION_IMMINENT useful in this case?

Let's say there is a launchd daemon which runs a NSXPCListener for a named mach service, and that this daemon does not support sudden termination.

Question:

Is there a point in supporting the XPC_ERROR_TERMINATION_IMMINENT error in this daemon?

Assuming it's even possible with the NSXPC APIs.

Is there a point in supporting the XPC_ERROR_TERMINATION_IMMINENT
error in this daemon?

On the client side? Or the server side?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
On the server side.
Does you actually see this error being returned to the server?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I'm in the process of converting existing XPC C code (from another developer) to NSXPC Obj-C code.

So I can't say and have no idea whether it ever has been seen by the original XPC C code.

Is XPC_ERROR_TERMINATION_IMMINENT useful in this case?
 
 
Q