Function darkfid::handle_signals

source ·
pub(crate) async fn handle_signals(
    signals: Signals,
    term_tx: Sender<()>,
    subscriber: SubscriberPtr<Args>
) -> Result<()>
Expand description

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