Expand description
This module contains functions to handle signals.
Enums§
- Halted
- This is the message that the “launcher” spawned task receives from the main application process to notify the service to shutdown.
Functions§
- global_
shutdown_ signal - Resolves on
ctrl_cor theterminatesignal. - graceful_
shutdown - shutdown_
signal - Resolves when the
stop_receiveror theglobal_shutdown_signal()resolves. - shutdown_
signal_ with_ message - Same as
shutdown_signal(), but shows a message when it resolves.