summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-ready-event-stream.js
Commit message (Collapse)AuthorAgeFilesLines
* test: clean tmpdir on process exitJoão Reis2019-08-101-0/+1
| | | | | | PR-URL: https://github.com/nodejs/node/pull/28858 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
* fs,net: standardize `pending` stream propertyAnna Henningsen2018-11-131-2/+9
| | | | | | | | | | Use the same property name as http2 does to indicate that the stream is in the state before the `ready` event is emitted. PR-URL: https://github.com/nodejs/node/pull/24067 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* fs,net: emit 'ready' for fs streams and socketsSameer Srivastava2018-03-231-0/+13
... in addition to the event names they currently use. Currently, various internal streams have different events that indicate that the underlying resource has successfully been established. This commit adds ready event for fs and net sockets to standardize on emitting ready for all of these streams. PR-URL: https://github.com/nodejs/node/pull/19408 Fixes: https://github.com/nodejs/node/issues/19304 Reviewed-By: Anna Henningsen <anna@addaleax.net>