Function vault::service::spawn_cancelable
source · pub fn spawn_cancelable<T: Future + Send + 'static>(
shutdown_rx: ShutdownReceiver,
future: T
)where
<T as Future>::Output: Send,
pub fn spawn_cancelable<T: Future + Send + 'static>(
shutdown_rx: ShutdownReceiver,
future: T
)where
<T as Future>::Output: Send,