Skip to content

Make sure sending fails after the first io error or future drop #26

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

Merged
merged 5 commits into from
Jun 19, 2025

Conversation

rklaehn
Copy link
Collaborator

@rklaehn rklaehn commented Jun 13, 2025

With the cloneable senders we need to make sure that if an error occurs in one sender, all the other senders fail fast, and also that other sender users have a way to detect that the sender is no longer working.

I also added some tests that cloned senders behave correctly.

Copy link
Member

@Frando Frando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Thanks for writing a test too.

Here's one commit I suggest adding that adds some docs on cancellation safety:
10dc097

@rklaehn rklaehn merged commit bcc4024 into Frando/clone-sender Jun 19, 2025
@rklaehn rklaehn deleted the rklaehn/poison-mpsc-sender branch June 19, 2025 09:47
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