top | item 29596065

(no title)

lkt | 4 years ago

Looks like they have added a builder for tokio::task[1] that will allow you to set a name. It's unstable at the moment so you would need to set the tokio_unstable cfg flag.

[1]: https://github.com/tokio-rs/tokio/blob/master/tokio/src/task...

discuss

order

carllerche|4 years ago

Exactly, this is the first release of Tokio Console. We will keep adding functionality over time, which will help inform the APIs in Tokio to better provide the necessary instrumentation.

I expect the new APIs like the task builder will stabilize (no longer require the `tokio_unstable` flag) over the course of 2022.