Skip to main content

shutdown

Function shutdown 

Source
pub fn shutdown(provider: &SdkTracerProvider) -> Result<()>
Expand description

Ask the owned provider to flush and shut down using the pinned SDK timeout. On timeout, full delivery and worker release remain unconfirmed. Call outside a Tokio current-thread runtime; see the operation contract.