Skip to main content

drain_backlog

Function drain_backlog 

pub async fn drain_backlog(emitter: &Emitter, deadline: Duration)
Expand description

Gives the bot’s channel time to take what the buffers still hold (shutdown).