macro_rules! inspect_task_start { ($name:expr) => { ... }; }
Begin tracking an async task
use async_inspect::inspect_task_start; async fn my_task() { let task_id = inspect_task_start!("my_task"); // Your async code here // Task will be marked as completed when task_id is dropped }