trilemma-dev / SecureXPC

A simple and secure XPC framework for Swift
MIT License
73 stars 15 forks source link

Default `XPCServer`'s synchronous handlers to be concurrent, optionally serial #93

Closed jakaplan closed 2 years ago

jakaplan commented 2 years ago

Instead of setting a queue on each connection itself which doesn't have the desired effect of providing concurrency, instead requests for sync handlers are now dispatched onto the queue.

The queue has been renamed to handlerQueue to more accurately describe its function and is non-nillable with a concurrent default.