pub async fn create_signal_monitor() -> Result<()>
Expand description

Create a monitor future for signals

It will exit when received SIGTERM or SIGINT.