Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stream: use nop as write() callback if omitted
This commit introduces a nop function that is used as the Writable.prototype.write() callback when one is not provided. This saves on function object creation. PR-URL: #564 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
- Loading branch information