Home
last modified time | relevance | path

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

12345678910>>...13

/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-promisified.js14 const setImmediate = promisify(timers.setImmediate); constant
33 const promise = setImmediate();
40 const promise = setImmediate('foobar');
63 assert.rejects(setImmediate(10, { signal }), /AbortError/);
71 assert.rejects(setImmediate(10, { signal }), /AbortError/);
86 setImmediate(10, { signal }).then(() => {
104 setImmediate(0, { signal }).finally(common.mustCall(() => {
111 [1, '', false, Infinity].map((i) => assert.rejects(setImmediate(10, i)), {
117 (signal) => assert.rejects(setImmediate(10, { signal })), {
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-process-warning.js15 setImmediate(test2);
24 setImmediate(test3);
34 setImmediate(test4);
45 setImmediate(test5);
53 setImmediate(test6);
Dtest-timers-immediate-queue-throw.js42 setImmediate(run, 2);
46 setImmediate(run, 0);
47 setImmediate(() => {
52 d1.run(() => setImmediate(() => {
56 setImmediate(run, 1);
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-timers-next-tick.js23 setImmediate(common.mustCall(() => {
30 const i2 = setImmediate(common.mustNotCall());
31 const i3 = setImmediate(common.mustNotCall());
32 setImmediate(common.mustCall());
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-gc-http-client-onerror.js40 setImmediate(getAll);
57 setImmediate(status);
67 setImmediate(status);
70 setImmediate(status);
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-microtask-queue-run-immediate.js37 setImmediate(function() {
45 setImmediate(function() {
54 setImmediate(function() {
Dtest-stream3-pause-then-read.js40 setImmediate(push);
100 setImmediate(pipeLittle);
113 setImmediate(read1234);
127 setImmediate(cb);
151 setImmediate(pipe);
/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/deps/npm/node_modules/util-promisify/test/
Dtimers.js10 const setImmediate = promisify(timers.setImmediate); constant
27 const promise = setImmediate();
34 const promise = setImmediate('foobar');
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dno-implied-eval.md5 The first is using `setTimeout()`, `setInterval()`, `setImmediate` or `execScript()` (Internet Expl…
18 passed in to be interpreted. The same can be done with `setInterval()`, `setImmediate()` and `execS…
20 …ways use a function for the first argument of `setTimeout()`, `setInterval()` and `setImmediate()`.
24 …hrough the use of `new Function()`, `setTimeout()`, `setInterval()`, `setImmediate()` or `execScri…
35 setImmediate('alert(`Hi!`)');
67 setImmediate(function () {
103 If you want to allow `new Function()` or `setTimeout()`, `setInterval()`, `setImmediate()` and `exe…
/third_party/node/test/fixtures/workload/
Dbounded.js13 setImmediate(runAllocation);
17 setImmediate(runAllocation);
22 setImmediate(runAllocation);
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dschedule.js9 var GlobalSetImmediate = global.setImmediate;
51 } else if (typeof setImmediate !== "undefined") {
53 setImmediate(fn);
/third_party/node/test/addons/make-callback-recurse/
Dtest.js66 setImmediate(common.mustCall(() => {
74 setImmediate(() => {
97 setImmediate(common.mustCall(() => {
147 setImmediate(common.mustCall(testTimer), 2);
/third_party/node/test/node-api/test_make_callback_recurse/
Dtest.js67 setImmediate(common.mustCall(function() {
75 setImmediate(function() {
98 setImmediate(common.mustCall(function() {
148 setImmediate(common.mustCall(testTimer), 2);

12345678910>>...13