Function addSignalListener

  • Registers a listener for the given signal.

    tjs.addSignalListener('SIGINT', handleSigint);
    

    Parameters

    Returns void