Table of Contents
Shutdown is a small helper to safely shutdown serivces on SIGINT (ctrl-C) A singelton calling a callback on SIGINT and provides a timeout if the callback does not finish in a period of time.
const shutdown = ;;
copyright: Copyright (c) 2020 Volker Böhm
author: Volker Böhm
license: This software is licensed under the GNU LESSER GENERAL PUBLIC LICENSE Version 3. It is furnished "as is", without any support, and with no warranty, express or implied, as to its usefulness for any purpose.