Function roboplc::suicide

source ยท
pub fn suicide(delay: Duration, warn: bool)
Expand description

Terminates the current process and all its subprocesses in the specified period of time with SIGKILL command. Useful if a process is unable to shut it down gracefully within a specified period of time.

Prints warnings to STDOUT if warn is true