Replies: 1 comment 6 replies
-
This is a good question. This isn't something I've tested out comprehensively in my own implementations. I suspect this ought to be an area worthy of future improvement as well as documentation. tl;dr It actually does appear that using the In more detailBy default all incoming requests are run on the default priority global concurrent queue. You can specify a different one by setting However, the SecureXPC framework itself is the one which directly does the "processing" and then routes to the corresponding handler. When the handler is I'll look into making these behaviors consistent; this is likely a simple change. But for now I believe the |
Beta Was this translation helpful? Give feedback.
-
My app will want to be able to call the helper several times, and have it run various multiple
Process()
handlers concurrently (or even the same handler multiple times concurrently). I'm a little uncertain what my route handlers will need to do for that to be possible.I notice in the sample you've used
waitUntilExit()
. If I do likewise, will the helper only start a subsequent call to this (or any other) handler once the first one finishes?I'm targeting 10.15+ so I can mark my
Process
-related route handlers withasync
— will that ensure they can all be called and run concurrently?Beta Was this translation helpful? Give feedback.
All reactions