mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
* Adopting `Sendable` in `NIOTestUtils` The parameter `decoderFactory` of the static methods `ByteToMessageDecoderVerifier.verifyDecoder` do not need to be `@escaping`. I have made them non-escaping as part of `Sendable` adoption because we would otherwise need to think about if they should be `@Sendable` too. `VerificationError` is interesting, see the code comment for more information. * Adopting `Sendable` in `NIOTestUtils` The parameter `decoderFactory` of the static methods `ByteToMessageDecoderVerifier.verifyDecoder` do not need to be `@escaping`. I have made them non-escaping as part of `Sendable` adoption because we would otherwise need to think about if they should be `@Sendable` too. `VerificationError` is interesting, see the code comment for more information. * Clarify the reason `VerificationError` already conforms to `Sendable`