mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-30 05:28:45 +00:00
Adopt Sendable in NIOExtras (#174)
Incremental `Sendable` adoption. Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
1 parent
b64e59956e
commit
5334d949fe
11 files changed
+58
-1
No files matched your search
@@ -76,3 +76,8 @@ public final class FixedLengthFrameDecoder: ByteToMessageDecoder {
|
||||
return .needMoreData
|
||||
}
|
||||
}
|
||||
|
||||
#if swift(>=5.6)
|
||||
@available(*, unavailable)
|
||||
extension FixedLengthFrameDecoder: Sendable {}
|
||||
#endif
|
||||
Reference in new issue
Block a user