swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.32k stars 278 forks source link

Migrate `DocumentManager.queue` from `DispatchQueue` to `AsyncQueue` #1597

Open ahoppen opened 3 months ago

ahoppen commented 3 months ago

AsyncQueue works better with the rest of the Swift concurrency system (eg. priority escalation) and we should use AsyncQueue instead of DispatchQueue for DocumentManager.queue.

ahoppen commented 3 months ago

Synced to Apple’s issue tracker as rdar://132934990