Home
last modified time | relevance | path

Searched refs:setImmediate (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/third_party/node/benchmark/timers/
Dset-immediate-depth-args.js17 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);
Dimmediate.js36 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);
Dset-immediate-breadth-args.js23 setImmediate(cb3, 512, true, null, 512, true, null);
25 setImmediate(cb2, false, 5.1, 512);
27 setImmediate(cb1, 0);
/third_party/node/test/parallel/
Dtest-timers-immediate-unref.js6 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();
Dtest-timers-user-call.js20 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');
Dtest-timers-immediate-queue-throw.js42 setImmediate(run, 2);
46 setImmediate(run, 0);
47 setImmediate(() => {
52 d1.run(() => setImmediate(() => {
56 setImmediate(run, 1);
Dtest-process-warning.js15 setImmediate(test2);
24 setImmediate(test3);
34 setImmediate(test4);
50 setImmediate(test5);
58 setImmediate(test6);
Dtest-stream-unpipe-event.js25 setImmediate(() => {
36 setImmediate(() => {
48 setImmediate(() => {
59 setImmediate(() => {
70 setImmediate(() => {
82 setImmediate(() => {
Dtest-timers-immediate.js28 setImmediate(common.mustCall(function() {
33 const immediateB = setImmediate(common.mustNotCall());
35 setImmediate(common.mustCall((...args) => {
39 setImmediate(common.mustCall((...args) => {
Dtest-stream2-readable-empty-buffer-no-eof.js49 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));
Dtest-timers-next-tick.js23 setImmediate(common.mustCall(() => {
30 const i2 = setImmediate(common.mustNotCall());
31 const i3 = setImmediate(common.mustNotCall());
32 setImmediate(common.mustCall());
Dtest-stream-writable-write-writev-finish.js30 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());
Dtest-timers-setimmediate-infinite-loop.js12 setImmediate(common.mustCall(function() {
17 const i2 = setImmediate(common.mustNotCall());
19 const i3 = setImmediate(common.mustNotCall());
Dtest-stream3-pause-then-read.js40 setImmediate(push);
100 setImmediate(pipeLittle);
113 setImmediate(read1234);
127 setImmediate(cb);
151 setImmediate(pipe);
Dtest-microtask-queue-run-immediate.js37 setImmediate(function() {
45 setImmediate(function() {
54 setImmediate(function() {
Dtest-gc-http-client-connaborted.js40 setImmediate(getAll);
51 setImmediate(status);
64 setImmediate(status);
/third_party/node/test/fixtures/test-runner/output/
Ddescribe_it.js77 setImmediate(() => {
83 setImmediate(() => {
90 setImmediate(() => {
157 setImmediate(() => {
210 setImmediate(done);
214 setImmediate(() => {
246 setImmediate(done);
251 setImmediate(() => {
258 setImmediate(() => {
264 setImmediate(() => {
Doutput.js81 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/
Dudppair.js32 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/
Dtest-late-hook-enable.js10 setImmediate(() => {
15 setImmediate(() => {
20 setImmediate(() => {
26 setImmediate(() => {
/third_party/node/test/sequential/
Dtest-gc-http-client.js44 setImmediate(getAll, requestsRemaining - 1);
56 setImmediate(status);
66 setImmediate(status);
69 setImmediate(status);
Dtest-gc-http-client-onerror.js46 setImmediate(getAll, requestsRemaining - 1);
62 setImmediate(status);
72 setImmediate(status);
75 setImmediate(status);
Dtest-gc-http-client-timeout.js40 setImmediate(getAll, requestsRemaining - 1);
52 setImmediate(status);
64 setImmediate(status);
/third_party/node/test/fixtures/workload/
Dbounded.js13 setImmediate(runAllocation);
17 setImmediate(runAllocation);
22 setImmediate(runAllocation);
/third_party/node/doc/api/
Dtimers.md19 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