Listen for SIGINT and SIGTERM Events in a ZX Script

The Polyglot Developer Guide 3 years ago

Description

Learn how to respond to SIGTERM, SIGINT, and other signal events in your ZX scripts using common JavaScript.