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

Introduce stream::try_channel helper #2497

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Introduce stream::try_channel helper #2497

merged 1 commit into from
Jul 11, 2024

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Jul 11, 2024

This PR introduces a try_channel helper to the stream module. It is analogous to the channel helper, but the Future returns a Result—useful when your futures can error fatally.

@hecrj hecrj added feature New feature or request addition labels Jul 11, 2024
@hecrj hecrj added this to the 0.13 milestone Jul 11, 2024
@hecrj hecrj enabled auto-merge July 11, 2024 02:10
@hecrj hecrj merged commit d894434 into master Jul 11, 2024
24 checks passed
@hecrj hecrj deleted the stream-try-channel branch July 11, 2024 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant