Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1764,10 +1764,12 @@ setTimeout(() => {
added:
- v20.5.0
- v18.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`subprocess.kill()`][] with `'SIGTERM'`.

### `subprocess.killed`
Expand Down
6 changes: 4 additions & 2 deletions doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,12 @@ provided, it is added as a listener for the [`'close'`][] event.
added:
- v20.5.0
- v18.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`socket.close()`][] and returns a promise that fulfills when the
socket has closed.

Expand Down
20 changes: 13 additions & 7 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -859,10 +859,12 @@ the end of the file.
added:
- v20.4.0
- v18.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls `filehandle.close()` and returns a promise that fulfills when the
filehandle is closed.

Expand Down Expand Up @@ -6754,21 +6756,25 @@ included in the iteration results.

<!-- YAML
added: v24.1.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls `dir.close()` and returns a promise that fulfills when the
dir is closed.

#### `dir[Symbol.Dispose]()`
#### `dir[Symbol.dispose]()`

<!-- YAML
added: v24.1.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls `dir.closeSync()` and returns `undefined`.

### Class: `fs.Dirent`
Expand Down
6 changes: 4 additions & 2 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1936,10 +1936,12 @@ affects new connections to the server, not any existing connections.

<!-- YAML
added: v20.4.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`server.close()`][] and returns a promise that fulfills when the
server has closed.

Expand Down
6 changes: 4 additions & 2 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2421,10 +2421,12 @@ closed, although the server has already stopped allowing new sessions. See

<!-- YAML
added: v20.4.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`server.close()`][] and returns a promise that fulfills when the
server has closed.

Expand Down
6 changes: 4 additions & 2 deletions doc/api/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ See [`server.close()`][] in the `node:http` module.

<!-- YAML
added: v20.4.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`server.close()`][httpsServerClose] and returns a promise that
fulfills when the server has closed.

Expand Down
6 changes: 4 additions & 2 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,12 @@ was not open when it was closed.
added:
- v20.5.0
- v18.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`server.close()`][] and returns a promise that fulfills when the
server has closed.

Expand Down
6 changes: 4 additions & 2 deletions doc/api/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,12 @@ targetDb.applyChangeset(changeset);
added:
- v23.11.0
- v22.15.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Closes the database connection. If the database connection is already closed
then this is a no-op.

Expand Down
12 changes: 8 additions & 4 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,10 +983,12 @@ Getter for the property `objectMode` of a given `Writable` stream.
added:
- v22.4.0
- v20.16.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`writable.destroy()`][writable-destroy] with an `AbortError` and returns
a promise that fulfills when the stream is finished.

Expand Down Expand Up @@ -1996,10 +1998,12 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to
added:
- v20.4.0
- v18.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Calls [`readable.destroy()`][readable-destroy] with an `AbortError` and returns
a promise that fulfills when the stream is finished.

Expand Down
12 changes: 8 additions & 4 deletions doc/api/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ invoked. Calling `immediate.unref()` multiple times will have no effect.
added:
- v20.5.0
- v18.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Cancels the immediate. This is similar to calling `clearImmediate()`.

## Class: `Timeout`
Expand Down Expand Up @@ -175,10 +177,12 @@ thread. This allows enhanced compatibility with browser
added:
- v20.5.0
- v18.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58467
description: No longer experimental.
-->

> Stability: 1 - Experimental

Cancels the timeout.

## Scheduling timers
Expand Down
Loading