In Node.js, the process.on('exit', handler) event listener can only perform synchronous operations and cannot perform __________.

  • Asynchronous operations
  • I/O operations
  • Synchronous operations
  • Blocking operations
The process.on('exit', handler) event listener in Node.js can only perform synchronous operations because the event is emitted when the Node.js process is about to exit, and it's not suitable for asynchronous or blocking operations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *