Open SionoiS opened 3 years ago
Build a separate task for signal handler then send updates to all other systems to trigger shut down procedures.
tokio::try_join!() with the stream and crtl-c signal could be used, just return an error when ctrl-c is received.
Build a separate task for signal handler then send updates to all other systems to trigger shut down procedures.