Skip to main content

spawn

Macro spawn 

Source
macro_rules! spawn {
    ($body:expr) => { ... };
}
Expand description

tokio::spawn that propagates the caller’s current span(s) into the spawned task. Use everywhere a per-message child task needs the parent’s attribution.