pub async fn flush(client: &Client, json: bool) -> Result<()>
Flush the queue (attempt immediate delivery)