Skip to content
New issue

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

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

Already on GitHub? # to your account

FileChunks isn't Sendable #2752

Closed
weissi opened this issue Jun 25, 2024 · 0 comments
Closed

FileChunks isn't Sendable #2752

weissi opened this issue Jun 25, 2024 · 0 comments

Comments

@weissi
Copy link
Member

weissi commented Jun 25, 2024

FileChunks is an AsyncSequence but not Sendable. That makes it annoying to use in places.

@glbrntt glbrntt closed this as completed in 216975d Sep 9, 2024
ali-ahsan-ali added a commit to ali-ahsan-ali/swift-nio that referenced this issue Sep 15, 2024
Motivation:

`FileChunks` is an `AsyncSequence` so should be `Sendable` otherwise
it's difficult to use.

Modifications:

- Conform `FileChunks` to `Sendable`

Result:

- Resolves apple#2752
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant