vexide icon indicating copy to clipboard operation
vexide copied to clipboard

Async Task Locals

Open lewisfm opened this issue 1 year ago • 0 comments

What's the motivation for this feature?

It would be helpful to have a way to create task-local global variables.

Describe the solution you'd like

Ideally an API compatible with https://docs.rs/tokio/latest/tokio/macro.task_local.html

Describe the drawbacks, if any

Can't think of any, I'm pretty sure this would just be an improvement.

lewisfm avatar May 22 '24 23:05 lewisfm