Skip to main content

cleanup

Function cleanup 

Source
pub async fn cleanup()
Expand description

First interrupts the delayed message expiration detector, then waits for pending messages (immediate and expired) in the execution queue to complete, and finally releases resources before exiting.

ยงExamples

zimq::cleanup("zimq").await;