DEP0127:timers._unrefActive()
类型:生命结束
¥Type: End-of-Life
之前未记录的 "private" 和 timers._unrefActive()
已被删除。请改用公开记录的 timeout.refresh()
。如果需要取消引用超时,自 Node.js 10 起可以使用 timeout.unref()
而不会影响性能。
¥The previously undocumented and "private" timers._unrefActive()
has been removed.
Please use the publicly documented timeout.refresh()
instead.
If unreferencing the timeout is necessary, timeout.unref()
can be used
with no performance impact since Node.js 10.