DEP0126: timers.active()


类型:寿命终止

【Type: End-of-Life】

之前未记录的 timers.active() 已被移除。 请改用公开记录的 timeout.refresh()。 如果需要重新引用超时,可以使用 timeout.ref(),自 Node.js 10 起不会有性能影响。

【The previously undocumented timers.active() has been removed. Please use the publicly documented timeout.refresh() instead. If re-referencing the timeout is necessary, timeout.ref() can be used with no performance impact since Node.js 10.】