Function killed_signal

Source
pub fn killed_signal() -> impl Future<Output = ()> + Send + 'static
Expand description

Returns a future that resolves when all registered tasks have been killed, after activate_now has been called.

Note: tokio does not kill a task until the next time it yields to the runtime. This means some killed tasks may still be running by the time this Future resolves.