Function with_graceful_shutdown

Source
pub async fn with_graceful_shutdown(
    fut: impl Future<Output = Result<()>>,
) -> Result<()>
Expand description

Run a future with graceful shutdown.