GeezerVison is showing github.com — doc: graduate Symbol.dispose/asyncDispose from experimental · nodejs/node@510872a
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/child_process.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1764,10 +1764,12 @@ setTimeout(() => { | 1764 | 1764 | added: | 1765 | 1765 | - v20.5.0 | 1766 | 1766 | - v18.18.0 | | 1767 | +changes: | | 1768 | + - version: REPLACEME | | 1769 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 1770 | + description: No longer experimental. | 1767 | 1771 | --> | 1768 | 1772 |
| 1769 | | -> Stability: 1 - Experimental | 1770 | | -
| 1771 | 1773 | Calls [`subprocess.kill()`][] with `'SIGTERM'`. | 1772 | 1774 |
| 1773 | 1775 | ### `subprocess.killed` | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/dgram.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -380,10 +380,12 @@ provided, it is added as a listener for the [`'close'`][] event. | 380 | 380 | added: | 381 | 381 | - v20.5.0 | 382 | 382 | - v18.18.0 | | 383 | +changes: | | 384 | + - version: REPLACEME | | 385 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 386 | + description: No longer experimental. | 383 | 387 | --> | 384 | 388 |
| 385 | | -> Stability: 1 - Experimental | 386 | | -
| 387 | 389 | Calls [`socket.close()`][] and returns a promise that fulfills when the | 388 | 390 | socket has closed. | 389 | 391 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/fs.md +13-7Lines changed: 13 additions & 7 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -859,10 +859,12 @@ the end of the file. | 859 | 859 | added: | 860 | 860 | - v20.4.0 | 861 | 861 | - v18.18.0 | | 862 | +changes: | | 863 | + - version: REPLACEME | | 864 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 865 | + description: No longer experimental. | 862 | 866 | --> | 863 | 867 |
| 864 | | -> Stability: 1 - Experimental | 865 | | -
| 866 | 868 | Calls `filehandle.close()` and returns a promise that fulfills when the | 867 | 869 | filehandle is closed. | 868 | 870 |
| @@ -6750,21 +6752,25 @@ included in the iteration results. | 6750 | 6752 |
| 6751 | 6753 | <!-- YAML | 6752 | 6754 | added: v24.1.0 | | 6755 | +changes: | | 6756 | + - version: REPLACEME | | 6757 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 6758 | + description: No longer experimental. | 6753 | 6759 | --> | 6754 | 6760 |
| 6755 | | -> Stability: 1 - Experimental | 6756 | | -
| 6757 | 6761 | Calls `dir.close()` and returns a promise that fulfills when the | 6758 | 6762 | dir is closed. | 6759 | 6763 |
| 6760 | | -#### `dir[Symbol.Dispose]()` | | 6764 | +#### `dir[Symbol.dispose]()` | 6761 | 6765 |
| 6762 | 6766 | <!-- YAML | 6763 | 6767 | added: v24.1.0 | | 6768 | +changes: | | 6769 | + - version: REPLACEME | | 6770 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 6771 | + description: No longer experimental. | 6764 | 6772 | --> | 6765 | 6773 |
| 6766 | | -> Stability: 1 - Experimental | 6767 | | -
| 6768 | 6774 | Calls `dir.closeSync()` and returns `undefined`. | 6769 | 6775 |
| 6770 | 6776 | ### Class: `fs.Dirent` | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/http.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1936,10 +1936,12 @@ affects new connections to the server, not any existing connections. | 1936 | 1936 |
| 1937 | 1937 | <!-- YAML | 1938 | 1938 | added: v20.4.0 | | 1939 | +changes: | | 1940 | + - version: REPLACEME | | 1941 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 1942 | + description: No longer experimental. | 1939 | 1943 | --> | 1940 | 1944 |
| 1941 | | -> Stability: 1 - Experimental | 1942 | | -
| 1943 | 1945 | Calls [`server.close()`][] and returns a promise that fulfills when the | 1944 | 1946 | server has closed. | 1945 | 1947 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/http2.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2421,10 +2421,12 @@ closed, although the server has already stopped allowing new sessions. See | 2421 | 2421 |
| 2422 | 2422 | <!-- YAML | 2423 | 2423 | added: v20.4.0 | | 2424 | +changes: | | 2425 | + - version: REPLACEME | | 2426 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 2427 | + description: No longer experimental. | 2424 | 2428 | --> | 2425 | 2429 |
| 2426 | | -> Stability: 1 - Experimental | 2427 | | -
| 2428 | 2430 | Calls [`server.close()`][] and returns a promise that fulfills when the | 2429 | 2431 | server has closed. | 2430 | 2432 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/https.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -137,10 +137,12 @@ See [`server.close()`][] in the `node:http` module. | 137 | 137 |
| 138 | 138 | <!-- YAML | 139 | 139 | added: v20.4.0 | | 140 | +changes: | | 141 | + - version: REPLACEME | | 142 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 143 | + description: No longer experimental. | 140 | 144 | --> | 141 | 145 |
| 142 | | -> Stability: 1 - Experimental | 143 | | -
| 144 | 146 | Calls [`server.close()`][httpsServerClose] and returns a promise that | 145 | 147 | fulfills when the server has closed. | 146 | 148 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/net.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -402,10 +402,12 @@ was not open when it was closed. | 402 | 402 | added: | 403 | 403 | - v20.5.0 | 404 | 404 | - v18.18.0 | | 405 | +changes: | | 406 | + - version: REPLACEME | | 407 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 408 | + description: No longer experimental. | 405 | 409 | --> | 406 | 410 |
| 407 | | -> Stability: 1 - Experimental | 408 | | -
| 409 | 411 | Calls [`server.close()`][] and returns a promise that fulfills when the | 410 | 412 | server has closed. | 411 | 413 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/sqlite.md +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -416,10 +416,12 @@ targetDb.applyChangeset(changeset); | 416 | 416 | added: | 417 | 417 | - v23.11.0 | 418 | 418 | - v22.15.0 | | 419 | +changes: | | 420 | + - version: REPLACEME | | 421 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 422 | + description: No longer experimental. | 419 | 423 | --> | 420 | 424 |
| 421 | | -> Stability: 1 - Experimental | 422 | | -
| 423 | 425 | Closes the database connection. If the database connection is already closed | 424 | 426 | then this is a no-op. | 425 | 427 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/stream.md +8-4Lines changed: 8 additions & 4 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -983,10 +983,12 @@ Getter for the property `objectMode` of a given `Writable` stream. | 983 | 983 | added: | 984 | 984 | - v22.4.0 | 985 | 985 | - v20.16.0 | | 986 | +changes: | | 987 | + - version: REPLACEME | | 988 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 989 | + description: No longer experimental. | 986 | 990 | --> | 987 | 991 |
| 988 | | -> Stability: 1 - Experimental | 989 | | -
| 990 | 992 | Calls [`writable.destroy()`][writable-destroy] with an `AbortError` and returns | 991 | 993 | a promise that fulfills when the stream is finished. | 992 | 994 |
| @@ -1996,10 +1998,12 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to | 1996 | 1998 | added: | 1997 | 1999 | - v20.4.0 | 1998 | 2000 | - v18.18.0 | | 2001 | +changes: | | 2002 | + - version: REPLACEME | | 2003 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 2004 | + description: No longer experimental. | 1999 | 2005 | --> | 2000 | 2006 |
| 2001 | | -> Stability: 1 - Experimental | 2002 | | -
| 2003 | 2007 | Calls [`readable.destroy()`][readable-destroy] with an `AbortError` and returns | 2004 | 2008 | a promise that fulfills when the stream is finished. | 2005 | 2009 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/timers.md +8-4Lines changed: 8 additions & 4 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -69,10 +69,12 @@ invoked. Calling `immediate.unref()` multiple times will have no effect. | 69 | 69 | added: | 70 | 70 | - v20.5.0 | 71 | 71 | - v18.18.0 | | 72 | +changes: | | 73 | + - version: REPLACEME | | 74 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 75 | + description: No longer experimental. | 72 | 76 | --> | 73 | 77 |
| 74 | | -> Stability: 1 - Experimental | 75 | | -
| 76 | 78 | Cancels the immediate. This is similar to calling `clearImmediate()`. | 77 | 79 |
| 78 | 80 | ## Class: `Timeout` | @@ -175,10 +177,12 @@ thread. This allows enhanced compatibility with browser | 175 | 177 | added: | 176 | 178 | - v20.5.0 | 177 | 179 | - v18.18.0 | | 180 | +changes: | | 181 | + - version: REPLACEME | | 182 | + pr-url: https://github.com/nodejs/node/pull/58467 | | 183 | + description: No longer experimental. | 178 | 184 | --> | 179 | 185 |
| 180 | | -> Stability: 1 - Experimental | 181 | | -
| 182 | 186 | Cancels the timeout. | 183 | 187 |
| 184 | 188 | ## Scheduling timers | |
|