Function flush
pub fn flush() -> Result<()>Expand description
Wait for the active persistence writer’s ordered flush acknowledgement.
Disabled persistence is a no-op. The final sync and worker errors are reported; this is not a successful-delivery receipt for each queued event.