doc: mark process.nextTick legacy

PR-URL: https://github.com/nodejs/node/pull/51280
Refs: https://github.com/nodejs/node/issues/51156
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
This commit is contained in:
Marco Ippolito authored and Michaël Zasso committed 2024-10-02 07:57:35 +02:00
1 parent 728c3fd6f1
commit 9529a30dba
1 file changed
+5
+5
View File
@@ -2474,6 +2474,9 @@ console.log(memoryUsage.rss());
<!-- YAML
added: v0.1.26
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/51280
description: Changed stability to Legacy.
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
@@ -2484,6 +2487,8 @@ changes:
description: Additional arguments after `callback` are now supported.
-->
> Stability: 3 - Legacy: Use [`queueMicrotask()`][] instead.
* `callback` {Function}
* `...args` {any} Additional arguments to pass when invoking the `callback`