From 701dc14fdf55b021755c04b5c3007d1a79b5aaeb Mon Sep 17 00:00:00 2001 From: Xuguang Mei Date: Thu, 10 Mar 2022 10:14:59 +0800 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Mestery --- doc/api/timers.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/api/timers.md b/doc/api/timers.md index c17907b9a87939..4e7d3585fbf4cc 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -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]()`