Skip to main content

create_termination

Function create_termination 

Source
pub fn create_termination() -> (Terminator, InterruptReceiver)
Expand description

create a broadcast channel for retrieving the application kill signal

ยงPanics

This function will panic if the tokio runtime cannot be created.