Lines Matching refs:immediate
23 By default, when an immediate is scheduled, the Node.js event loop will continue
24 running as long as the immediate is active. The `Immediate` object returned by
25 [`setImmediate()`][] exports both `immediate.ref()` and `immediate.unref()`
28 ### `immediate.hasRef()`
37 ### `immediate.ref()`
42 * Returns: {Immediate} a reference to `immediate`
45 `Immediate` is active. Calling `immediate.ref()` multiple times will have no
49 to call `immediate.ref()` unless `immediate.unref()` had been called previously.
51 ### `immediate.unref()`
56 * Returns: {Immediate} a reference to `immediate`
61 invoked. Calling `immediate.unref()` multiple times will have no effect.
159 Schedules the "immediate" execution of the `callback` after I/O events'
164 queue is processed every event loop iteration. If an immediate timer is queued
268 console.log('The immediate was aborted');
293 ### `clearImmediate(immediate)`
298 * `immediate` {Immediate} An `Immediate` object as returned by