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 LocalSet example #3438

Merged
merged 2 commits into from Jan 21, 2021
Merged

Add LocalSet example #3438

merged 2 commits into from Jan 21, 2021

Conversation

Darksonn
Copy link
Contributor

People are often confused about how to spawn !Send futures. This example should hopefully point them in the right direction.

@Darksonn Darksonn added T-docs Topic: documentation A-tokio Area: The main tokio crate M-task Module: tokio/task labels Jan 16, 2021
@Darksonn Darksonn requested a review from taiki-e January 21, 2021 14:20
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

LGTM

tokio/src/task/local.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-task Module: tokio/task T-docs Topic: documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants