tmandry / Swindler

macOS window management library for Swift
https://tmandry.github.io/Swindler/docs/main/
MIT License
695 stars 66 forks source link

Configurable dispatch queue for event handlers #46

Open tmandry opened 5 years ago

tmandry commented 5 years ago

So we aren't clogging up the main thread with our event handlers.

Do we want to support queues with multiple threads? If so I'll have to spend some time thinking about proper synchronization here, because I'm not 100% sure if the window and application delegate code is thread-safe. Properties definitely are, though.

See also discussion in #44.