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

Add Sender::broadcast_blocking and Receiver::recv_blocking #68

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

hozan23
Copy link
Contributor

@hozan23 hozan23 commented Jun 27, 2024

Support blocking broadcast and receive using the wait() function from the event-listener crate

I'm unsure about calling wait() on recv_direct() and broadcast_direct() methods. I'm open to making adjustments.

Fixes #41

Support blocking broadcast and receive using the `wait()` function from
the `event-listener` crate

Fixes smol-rs#41
@hozan23 hozan23 force-pushed the add_recv_broadcast_blocking branch from d54b7e3 to 56406d8 Compare June 27, 2024 14:11
@zeenix
Copy link
Member

zeenix commented Jun 27, 2024

LGTM but I'd want @notgull's opinion too.

@zeenix
Copy link
Member

zeenix commented Jul 3, 2024

seems @notgull is busy these days. I'll merge this. We can always revert if needed.

@zeenix zeenix merged commit de420a3 into smol-rs:master Jul 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add Sender::broadcast_blocking and Receiver::recv_blocking
2 participants