Node.js Writable Stream unpipe Event
The ‘unpipe’ event in a Writable Stream is emitted when stream.unpipe() method is being called on a Readable stream by detaching this Writable from its set of destinations.
Return Value: If the unpipe() method is being called then this event is emitted else its not emitted.
Below examples illustrate the use of ‘unpipe’ event in Node.js:
Unpiped! Program Ended...
So, here unpipe() function is not called so the unpipe event is not emitted.