So this makes packet (and a few sub-structs) sendable.
This, however is not sufficient for this package to be built with swift 6 mode. That would probably require making Connection an actor or doing some other trickery to ensure that callbacks to contentProcessed are threadsafe, and I don't have time to do that right now.
If you would like to see that, I can come back through this later with another PR. Just let me know what you think.
So this makes packet (and a few sub-structs) sendable.
This, however is not sufficient for this package to be built with swift 6 mode. That would probably require making
Connection
an actor or doing some other trickery to ensure that callbacks tocontentProcessed
are threadsafe, and I don't have time to do that right now.If you would like to see that, I can come back through this later with another PR. Just let me know what you think.