lilith

Function handle_signals

Source
pub(crate) async fn handle_signals(
    signals: Signals,
    term_tx: Sender<()>,
    publisher: PublisherPtr<Args>,
) -> Result<()>
Expand description

Auxiliary task to handle SIGHUP, SIGTERM, SIGINT and SIGQUIT signals