Searched refs:emitClose (Results 1 – 19 of 19) sorted by relevance
/third_party/node/test/parallel/ |
D | test-fs-stream-destroy-emit-error.js | 22 const stream = fs.createReadStream(__filename, { emitClose: true }); property 29 { emitClose: true }); property
|
D | test-file-write-stream4.js | 17 emitClose: true property
|
D | test-fs-stream-construct-compat-error-read.js | 26 const r = new ReadStream('/doesnotexist', { emitClose: true }) property
|
D | test-http2-client-jsstream-destroy.js | 18 super({ emitClose: true }); property
|
D | test-fs-stream-construct-compat-error-write.js | 39 { flags: 'wx+', emitClose: true }) property
|
D | test-stream-finished.js | 344 emitClose: false, property
|
/third_party/node/lib/internal/streams/ |
D | destroy.js | 131 if (w?.emitClose || r?.emitClose) {
|
D | utils.js | 281 state.emitClose &&
|
D | writable.js | 182 this.emitClose = !options || options.emitClose !== false;
|
D | readable.js | 139 emitClose: makeBitMapDescriptor(kEmitClose), property 190 if (options && options.emitClose === false) this.state &= ~kEmitClose;
|
/third_party/node/lib/internal/bootstrap/switches/ |
D | is_main_thread.js | 120 if (!this._writableState.emitClose) {
|
/third_party/node/lib/internal/http2/ |
D | core.js | 1085 function emitClose(self, error) { function 1115 emitClose(session, error); 1135 process.nextTick(emitClose, session, error);
|
/third_party/node/doc/api/ |
D | stream.md | 467 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 …]
|
D | fs.md | 259 * `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/ |
D | net.js | 417 options.emitClose = false;
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V12.md | 2672 …/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…
|
D | CHANGELOG_V15.md | 895 * \[[`d3dc124575`](https://github.com/nodejs/node/commit/d3dc124575)] - **doc**: update emitClose d…
|
D | CHANGELOG_V13.md | 932 …/nodejs/node/commit/2c2b3ba39c)] - **fs**: do not emit 'close' twice if emitClose enabled (Robert …
|
D | CHANGELOG_V14.md | 618 * \[[`298a16a2e7`](https://github.com/nodejs/node/commit/298a16a2e7)] - **doc**: update emitClose d…
|