| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Allow passing true for emitClose option for fs streams. Fixes: nodejs#29177
There was a problem hiding this comment.
Can you add tests and some sort of documentation.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM but I’d also really prefer to have a test for this.
Sorry, something went wrong.
|
I added tests. PTAL. |
Sorry, something went wrong.
|
I've also added documentation. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Thanks a lot @Trott I tried adding tests for this but the close event was emitted twice even when autoClose: false -- but then again I didn't see a condition for emitClose somewhere in the code. |
Sorry, something went wrong.
Sorry, something went wrong.
Notable changes:
* deps:
* Update npm to 6.10.3 (isaacs)
#29023
* fs:
* Add recursive option to rmdir() (cjihrig)
#29168
* Allow passing true to emitClose option (Giorgos Ntemiris)
#29212
* Add \*timeNs properties to BigInt Stats objects (Joyee Cheung)
#21387
* net:
* Allow reading data into a static buffer (Brian White)
#25436
PR-URL: #29429
Notable changes:
* deps:
* Update npm to 6.10.3 (isaacs)
#29023
* fs:
* Add recursive option to rmdir() (cjihrig)
#29168
* Allow passing true to emitClose option (Giorgos Ntemiris)
#29212
* Add \*timeNs properties to BigInt Stats objects (Joyee Cheung)
#21387
* net:
* Allow reading data into a static buffer (Brian White)
#25436
PR-URL: #29429
Notable changes:
* deps:
* Update npm to 6.10.3 (isaacs)
#29023
* fs:
* Add recursive option to rmdir() (cjihrig)
#29168
* Allow passing true to emitClose option (Giorgos Ntemiris)
#29212
* Add \*timeNs properties to BigInt Stats objects (Joyee Cheung)
#21387
* net:
* Allow reading data into a static buffer (Brian White)
#25436
PR-URL: #29429
| Back | FazBrowse Home | New Git URL |
Allow passing true for emitClose option for fs streams.
Fixes: #29177
Checklist