Sequence ProcessSigterm
std/process/engine::ProcessSigterm
Outputs
↦ trigger: Block<void>
Trigger when SIGTERM is received.
trigger
is send when SIGTERM signal is received by main process.
ℹ️ SIGTERM is a system signal asking the process to terminate gracefully, it can be used to do last actions (saving data, closing connections) before ending the program.
⚠️ If ProcessSigterm() is used but not connected to ProcessEnd(), users won't be able to terminate program through usual way.