Function teardown_trace_subscriber

Source
pub fn teardown_trace_subscriber(
    guard_external: External<RefCell<Option<FlushGuard>>>,
)
Expand description

Teardown currently running tracing subscriber to flush out remaining traces. This should be called when parent node.js process exits, otherwise generated trace may drop traces in the buffer.