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 2024-08-12 18:18:50 +02:00 committed by GitHub
parent 4dc1ae0d9b
commit 624db50952
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2711,6 +2711,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
@ -2721,6 +2724,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`