Adopt Sendable in NIOExtras (#174)

Incremental `Sendable` adoption.

Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
David NadobaandCory Benfield authored and GitHub committed 2022-08-23 15:20:41 +01:00
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