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

Should Response and ResponseBody by Sendable? #632

Open
adam-fowler opened this issue Dec 8, 2024 · 0 comments
Open

Should Response and ResponseBody by Sendable? #632

adam-fowler opened this issue Dec 8, 2024 · 0 comments
Labels
breaking change Change that requires a major version

Comments

@adam-fowler
Copy link
Member

Making ResponseBody Sendable requires that the closure it holds be Sendable as well. This complicates things when the type being written in the Response is non Sendable.

@adam-fowler adam-fowler added the breaking change Change that requires a major version label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Change that requires a major version
Projects
None yet
Development

No branches or pull requests

1 participant