Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making Packet Sendable #4

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Making Packet Sendable #4

merged 1 commit into from
Jun 16, 2024

Conversation

msdrigg
Copy link
Contributor

@msdrigg msdrigg commented Jun 15, 2024

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.

@msdrigg
Copy link
Contributor Author

msdrigg commented Jun 15, 2024

Oh this resolves #3

@ydnar
Copy link
Contributor

ydnar commented Jun 15, 2024

Rebase?

@msdrigg
Copy link
Contributor Author

msdrigg commented Jun 16, 2024

Done!

@ydnar ydnar merged commit 16bf49d into alta:main Jun 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants