-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
async fn and async block not support task::current().id(),how to get Coroutines id? #1996
Comments
async_std and tokio are separate runtimes. |
We probably should add a task identifier. It would be fairly simple I think. I am not sure what API we would want to use though. |
Will the new version be added? |
this issue has any update? |
There seems to be no response,But task ids are important for tracking tasks |
No, nobody has taken the time to work on it. |
Think this can be closed. |
Currently, the |
I agree with you |
I'm fine with adding a method to query the current task's id. If anyone wants to submit a PR, that would be great! Let us know on our discord server if you need help with implementing it. |
The text was updated successfully, but these errors were encountered: