Searched refs:setImmediate (Results 1 – 25 of 327) sorted by relevance
12345678910>>...14
/third_party/node/benchmark/timers/ |
D | set-immediate-depth-args.js | 17 setImmediate(cb3, n, true, null, 5.1, null, true); 19 setImmediate(cb2, n, 5.1, true); 21 setImmediate(cb1, n); 28 setImmediate(cb3, n, true, null, 5.1, null, true); 30 setImmediate(cb2, n, 5.1, true); 32 setImmediate(cb1, n); 39 setImmediate(cb3, n, true, null, 5.1, null, true); 41 setImmediate(cb2, n, 5.1, true); 43 setImmediate(cb1, n); 47 setImmediate(cb1, n);
|
D | immediate.js | 36 setImmediate(cb); 42 setImmediate(cb); 50 setImmediate(cb, 1); 56 setImmediate(cb, 1); 70 setImmediate(cb); 84 setImmediate(cb, 1); 99 setImmediate(cb, 1, 2, 3, 4); 111 clearImmediate(setImmediate(cb, 1)); 113 setImmediate(cb, 2);
|
D | set-immediate-breadth-args.js | 23 setImmediate(cb3, 512, true, null, 512, true, null); 25 setImmediate(cb2, false, 5.1, 512); 27 setImmediate(cb1, 0);
|
/third_party/node/test/parallel/ |
D | test-timers-immediate-unref.js | 6 const immediate = setImmediate(() => {}); 14 setImmediate(common.mustCall(firstStep)).ref().unref().unref().ref(); 19 setImmediate(common.mustCall()).unref(); 20 setTimeout(common.mustCall(() => { setImmediate(secondStep); }), 0); 25 const immA = setImmediate(() => { 33 const immB = setImmediate(common.mustNotCall()).unref(); 34 setImmediate(common.mustCall(finalStep)); 40 setImmediate(common.mustNotCall()).unref();
|
D | test-timers-user-call.js | 20 setImmediate(fn, 1); 21 setImmediate(fn, 1, 'oneArg'); 22 setImmediate(fn, 1, 'two', 'args'); 23 setImmediate(fn, 1, 'three', '(3)', 'args'); 24 setImmediate(fn, 1, 'more', 'than', 'three', 'args');
|
D | test-timers-immediate-queue-throw.js | 42 setImmediate(run, 2); 46 setImmediate(run, 0); 47 setImmediate(() => { 52 d1.run(() => setImmediate(() => { 56 setImmediate(run, 1);
|
D | test-process-warning.js | 15 setImmediate(test2); 24 setImmediate(test3); 34 setImmediate(test4); 50 setImmediate(test5); 58 setImmediate(test6);
|
D | test-stream-unpipe-event.js | 25 setImmediate(() => { 36 setImmediate(() => { 48 setImmediate(() => { 59 setImmediate(() => { 70 setImmediate(() => { 82 setImmediate(() => {
|
D | test-timers-immediate.js | 28 setImmediate(common.mustCall(function() { 33 const immediateB = setImmediate(common.mustNotCall()); 35 setImmediate(common.mustCall((...args) => { 39 setImmediate(common.mustCall((...args) => {
|
D | test-stream2-readable-empty-buffer-no-eof.js | 49 return setImmediate(() => { 53 setImmediate(() => { 56 return setImmediate(r.read.bind(r, 0)); 58 setImmediate(r.read.bind(r, 0)); 63 setImmediate(r.read.bind(r, 0));
|
D | test-timers-next-tick.js | 23 setImmediate(common.mustCall(() => { 30 const i2 = setImmediate(common.mustNotCall()); 31 const i3 = setImmediate(common.mustNotCall()); 32 setImmediate(common.mustCall());
|
D | test-stream-writable-write-writev-finish.js | 30 setImmediate(cb, new Error('write test error')); 62 setImmediate(function() { 71 setImmediate(cb, new Error('write test error')); 75 setImmediate(cb, new Error('writev test error')); 87 setImmediate(function() { 107 setImmediate(done, new Error());
|
D | test-timers-setimmediate-infinite-loop.js | 12 setImmediate(common.mustCall(function() { 17 const i2 = setImmediate(common.mustNotCall()); 19 const i3 = setImmediate(common.mustNotCall());
|
D | test-stream3-pause-then-read.js | 40 setImmediate(push); 100 setImmediate(pipeLittle); 113 setImmediate(read1234); 127 setImmediate(cb); 151 setImmediate(pipe);
|
D | test-microtask-queue-run-immediate.js | 37 setImmediate(function() { 45 setImmediate(function() { 54 setImmediate(function() {
|
D | test-gc-http-client-connaborted.js | 40 setImmediate(getAll); 51 setImmediate(status); 64 setImmediate(status);
|
/third_party/node/test/fixtures/test-runner/output/ |
D | describe_it.js | 77 setImmediate(() => { 83 setImmediate(() => { 90 setImmediate(() => { 157 setImmediate(() => { 210 setImmediate(done); 214 setImmediate(() => { 246 setImmediate(done); 251 setImmediate(() => { 258 setImmediate(() => { 264 setImmediate(() => {
|
D | output.js | 81 setImmediate(() => { 87 setImmediate(() => { 94 setImmediate(() => { 172 setImmediate(() => { 230 setImmediate(done); 234 setImmediate(() => { 266 setImmediate(done); 271 setImmediate(() => { 278 setImmediate(() => { 284 setImmediate(() => { [all …]
|
/third_party/node/test/common/ |
D | udppair.js | 32 this.emitBufferedImmediate = setImmediate(this._emitBuffered); 40 this.emitBufferedImmediate = setImmediate(this._emitBuffered); 50 setImmediate(() => this._handle.onSendDone(wrap, 0)); 91 (chk) => setImmediate(() => clientSide.emitReceived(chk))); 93 (chk) => setImmediate(() => serverSide.emitReceived(chk)));
|
/third_party/node/test/async-hooks/ |
D | test-late-hook-enable.js | 10 setImmediate(() => { 15 setImmediate(() => { 20 setImmediate(() => { 26 setImmediate(() => {
|
/third_party/node/test/sequential/ |
D | test-gc-http-client.js | 44 setImmediate(getAll, requestsRemaining - 1); 56 setImmediate(status); 66 setImmediate(status); 69 setImmediate(status);
|
D | test-gc-http-client-onerror.js | 46 setImmediate(getAll, requestsRemaining - 1); 62 setImmediate(status); 72 setImmediate(status); 75 setImmediate(status);
|
D | test-gc-http-client-timeout.js | 40 setImmediate(getAll, requestsRemaining - 1); 52 setImmediate(status); 64 setImmediate(status);
|
/third_party/node/test/fixtures/workload/ |
D | bounded.js | 13 setImmediate(runAllocation); 17 setImmediate(runAllocation); 22 setImmediate(runAllocation);
|
/third_party/node/doc/api/ |
D | timers.md | 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()`][]. [all …]
|
12345678910>>...14