Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: The `NIOWebSocketServerUpgrader` is marked as not being `Sendable`, but it has no mutable state and makes no assumptions about the event loop it is invoked on, so it should be `Sendable`. The two user-provided callbacks which are injected in `init` are marked as being `Sendable` but require Swift 5.7 to express this safely. Modifications: - Add `@unchecked Sendable` conformance to `NIOWebSocketServerUpgrader` Result: - `NIOWebSocketServerUpgrader` is Sendable.
- Loading branch information