swift-nio icon indicating copy to clipboard operation
swift-nio copied to clipboard

`ChannelOption.Value: Sendable`

Open dnadoba opened this issue 2 years ago • 0 comments

It looks like requiring ChannelOption.Value to conform to Sendable is a source breaking change e.g. our own RecvAllocatorOption no longer compiles as the RecvByteBufferAllocator protocol wasn't required to be Sendable. To my knowledge, @preconcurrency can not be applied to associated types which would normally be the solution to this kind of problem.

dnadoba avatar May 12 '22 12:05 dnadoba