Skip to content

How to identify a task? #3802

Answered by Darksonn
JesseAtSZ asked this question in Q&A
Discussion options

You must be logged in to vote

We don't have the ability to give a name to a task in Tokio itself, but you can attach all sorts of information to a task if you use the tracing library. You could also use a task local for storing information about a task.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Darksonn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants