mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Allow usage of `assumeIsolated` in SerialExecutors that are backed by EventLoops. ### Motivation: We want to support all new Swift 6 features in SerialExecutors. ### Modifications: - Implement `isSameExclusiveExecutionContext` - Implement `checkIsolated` ### Result: We can use `assumeIsolated` in actors that use an `EventLoop` as their `SerialExecutor`.