Lines Matching refs:setImmediate
19 This object is created internally and is returned from [`setImmediate()`][]. It
25 [`setImmediate()`][] exports both `immediate.ref()` and `immediate.unref()`
187 ### `setImmediate(callback[, ...args])`
207 When multiple calls to `setImmediate()` are made, the `callback` functions are
216 [`timersPromises.setImmediate()`][].
281 The [`setImmediate()`][], [`setInterval()`][], and [`setTimeout()`][] methods
285 For the promisified variants of [`setImmediate()`][] and [`setTimeout()`][],
289 For `setImmediate()`:
292 const { setImmediate: setImmediatePromise } = require('node:timers/promises');
332 [`setImmediate()`][].
334 Cancels an `Immediate` object created by [`setImmediate()`][].
375 setImmediate,
383 setImmediate,
424 ### `timersPromises.setImmediate([value[, options]])`
440 setImmediate,
443 const res = await setImmediate('result');
450 setImmediate,
453 setImmediate('result').then((res) => {
557 `timersPromises.setImmediate()` with no arguments.
566 [`setImmediate()`]: #setimmediatecallback-args
569 [`timersPromises.setImmediate()`]: #timerspromisessetimmediatevalue-options