Home
last modified time | relevance | path

Searched refs:emitClose (Results 1 – 19 of 19) sorted by relevance

/third_party/node/test/parallel/
Dtest-fs-stream-destroy-emit-error.js22 const stream = fs.createReadStream(__filename, { emitClose: true }); property
29 { emitClose: true }); property
Dtest-file-write-stream4.js17 emitClose: true property
Dtest-fs-stream-construct-compat-error-read.js26 const r = new ReadStream('/doesnotexist', { emitClose: true }) property
Dtest-http2-client-jsstream-destroy.js18 super({ emitClose: true }); property
Dtest-fs-stream-construct-compat-error-write.js39 { flags: 'wx+', emitClose: true }) property
Dtest-stream-finished.js344 emitClose: false, property
/third_party/node/lib/internal/streams/
Ddestroy.js131 if (w?.emitClose || r?.emitClose) {
Dutils.js281 state.emitClose &&
Dwritable.js182 this.emitClose = !options || options.emitClose !== false;
Dreadable.js139 emitClose: makeBitMapDescriptor(kEmitClose), property
190 if (options && options.emitClose === false) this.state &= ~kEmitClose;
/third_party/node/lib/internal/bootstrap/switches/
Dis_main_thread.js120 if (!this._writableState.emitClose) {
/third_party/node/lib/internal/http2/
Dcore.js1085 function emitClose(self, error) { function
1115 emitClose(session, error);
1135 process.nextTick(emitClose, session, error);
/third_party/node/doc/api/
Dstream.md467 description: Add `emitClose` option to specify if `'close'` is emitted on
476 created with the `emitClose` option.
637 event (unless `emitClose` is set to `false`). After this call, the writable
1137 description: Add `emitClose` option to specify if `'close'` is emitted on
1146 created with the `emitClose` option.
1323 event (unless `emitClose` is set to `false`). After this call, the readable
2623 unless `emitClose` is set in false.
3406 `autoDestroy` and `emitClose` options, do not allow the
3485 description: Add `emitClose` option to specify if `'close'` is emitted on
3507 * `emitClose` {boolean} Whether or not the stream should emit `'close'`
[all …]
Dfs.md259 * `emitClose` {boolean} **Default:** `true`
282 destroyed. Set the `emitClose` option to `false` to change this behavior.
326 * `emitClose` {boolean} **Default:** `true`
343 destroyed. Set the `emitClose` option to `false` to change this behavior.
535 * `emitClose` {boolean} **Default:** `true`
2371 description: Change `emitClose` default to `true`.
2380 description: Enable `emitClose` option.
2406 * `emitClose` {boolean} **Default:** `true`
2436 destroyed. Set the `emitClose` option to `false` to change this behavior.
2500 description: Change `emitClose` default to `true`.
[all …]
/third_party/node/lib/
Dnet.js417 options.emitClose = false;
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md2672 …/nodejs/node/commit/fc9c6c3227)] - **fs**: do not emit 'close' twice if emitClose enabled (Robert …
4398 …* Allow passing true to emitClose option (Giorgos Ntemiris) [#29212](https://github.com/nodejs/nod…
4439 …b.com/nodejs/node/commit/65de900052)] - **(SEMVER-MINOR)** **doc**: add emitClose option for fs st…
4449 …/commit/8f47ff16d4)] - **(SEMVER-MINOR)** **fs**: allow passing true to emitClose option (Giorgos …
4476 …com/nodejs/node/commit/1f88ca3424)] - **(SEMVER-MINOR)** **test**: add `emitClose: true` tests for…
DCHANGELOG_V15.md895 * \[[`d3dc124575`](https://github.com/nodejs/node/commit/d3dc124575)] - **doc**: update emitClose d…
DCHANGELOG_V13.md932 …/nodejs/node/commit/2c2b3ba39c)] - **fs**: do not emit 'close' twice if emitClose enabled (Robert …
DCHANGELOG_V14.md618 * \[[`298a16a2e7`](https://github.com/nodejs/node/commit/298a16a2e7)] - **doc**: update emitClose d…