Skip to main content

run_stale_monitor

Function run_stale_monitor 

Source
pub async fn run_stale_monitor<F, S>(
    config: StaleConfig,
    is_idle: F,
    shutdown_rooms: S,
)
where F: Fn() -> bool + Send + 'static, S: Fn() + Send + 'static,