Module signals

Module signals 

Source
Expand description

Installs a signal handler which terminates the platform in CTRL+C or SIGHUP.

Forks an async task which waits for either CTRL+C or SIGHUP and then invokes Platform::terminate on the given platform.

Functionsยง

install
Installs a signal handler for the given platform which awaits either a CTRL+C or SIGHUP.