mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-28 05:14:24 +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
@@ -246,3 +246,8 @@ public final class LengthFieldBasedFrameDecoder: ByteToMessageDecoder {
|
||||
return frameLength
|
||||
}
|
||||
}
|
||||
|
||||
#if swift(>=5.6)
|
||||
@available(*, unavailable)
|
||||
extension LengthFieldBasedFrameDecoder: Sendable {}
|
||||
#endif
|
||||
Reference in new issue
Block a user