Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/ECMAScript/
Node JS
Node JS
/Node js process/
Node js Process Exit
Search

Node js Process Exit

exit code

  • 0 - success
  • 1 - failure
 
 
Process | Node.js v15.14.0 Documentation
The 'beforeExit' event is emitted when Node.js empties its event loop and has no additional work to schedule. Normally, the Node.js process will exit when there is no work scheduled, but a listener registered on the'beforeExit' event can make asynchronous calls, and thereby cause the Node.js process to continue.
Process | Node.js v15.14.0 Documentation
https://nodejs.org/api/process.html
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/ECMAScript/
Node JS
Node JS
/Node js process/
Node js Process Exit
Copyright Seonglae Cho