mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: remove outdated timeout.unref content
resolve: https://github.com/nodejs/node/issues/42239 PR-URL: https://github.com/nodejs/node/pull/42241 Fixes: https://github.com/nodejs/node/issues/42239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
This commit is contained in:
1 parent
e9d7af1cc6
commit
9fa6e445d5
1 file changed
-4
@@ -140,10 +140,6 @@ to remain active. If there is no other activity keeping the event loop running,
|
||||
the process may exit before the `Timeout` object's callback is invoked. Calling
|
||||
`timeout.unref()` multiple times will have no effect.
|
||||
|
||||
Calling `timeout.unref()` creates an internal timer that will wake the Node.js
|
||||
event loop. Creating too many of these can adversely impact performance
|
||||
of the Node.js application.
|
||||
|
||||
### `timeout[Symbol.toPrimitive]()`
|
||||
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user