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

sync: add more oneshot examples

Merged
merged 3 commits into from Oct 8, 2021
Merged

sync: add more oneshot examples #4153

merged 3 commits into from Oct 8, 2021

Conversation

Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Oct 5, 2021

Some examples are duplicated both on the module and Sender or Receiver structs to make them more easily discoverable.

@Darksonn Darksonn added T-docs A-tokio M-sync labels Oct 5, 2021
Copy link
Contributor

@cgwalters cgwalters left a comment

(Not a real reviewer here, but I try to pay it back a bit)
This looks sane to me!

tokio/src/sync/oneshot.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@Noah-Kennedy Noah-Kennedy left a comment

This looks great to me!

@Darksonn Darksonn merged commit f0cb360 into master Oct 8, 2021
27 checks passed
@Darksonn Darksonn deleted the oneshot-examples branch Oct 8, 2021
oliver-giersch pushed a commit to oliver-giersch/tokio that referenced this issue Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio M-sync T-docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants