Lines Matching refs:timer
20 const timer = setTimeout(common.mustCall(() => { constant
23 timer.unref();
31 strictEqual(timer.refresh(), timer);
50 const timer = setUnrefTimeout(common.mustCall(() => { constant
58 strictEqual(timer.refresh(), timer);
64 const timer = setTimeout(common.mustCall(() => { constant
72 strictEqual(timer.refresh(), timer);
78 const timer = setTimeout(common.mustCall(() => { constant
82 timer.refresh();
83 strictEqual(timer.hasRef(), true);
92 const timer = setInterval(common.mustCall(() => { constant
95 clearInterval(timer);
103 strictEqual(timer.refresh(), timer);