-
-
Couldn't load subscription status.
- Fork 2.8k
task: clarify the behavior of several spawn_local methods
#7669
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
tokio-util/src/task/join_map.rs
Outdated
|
|
||
| /// Spawn the provided task on the current [`LocalSet`] and store it in this | ||
| /// Spawn the provided task on the current [`LocalSet`] or [`LocalRuntime`] and store it in this | ||
| /// `JoinMap` with the provided key. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try to keep the line length consistent with the rest of the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, I fixed the formatting, let me know if now it makes sense to you
|
tokio/tokio-util/src/task/join_queue.rs Line 106 in e7e02fc
Could you also update the docs of |
Sure @ADD-SP, added also for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
spawn_local methodsspawn_local methods
spawn_local methodsspawn_local methods
fixes #7561