Answers for "node js on ctrl c"

0

node js on ctrl c

process.on('SIGINT', function() {
    console.log("Caught interrupt signal");

    if (i_should_exit)
        process.exit();
});
Posted by: Guest on March-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language