Home
last modified time | relevance | path

Searched refs:nextTick (Results 1 - 25 of 200) sorted by relevance

12345678

/third_party/node/benchmark/process/
H A Dnext-tick-depth-args.js13 process.nextTick(cb4, 3.14, 1024, true, false);
15 process.nextTick(cb3, 512, true, null);
17 process.nextTick(cb2, false, 5.1);
19 process.nextTick(cb1, 0);
27 process.nextTick(cb4, 3.14, 1024, true, false);
29 process.nextTick(cb3, 512, true, null);
31 process.nextTick(cb2, false, 5.1);
33 process.nextTick(cb1, 0);
41 process.nextTick(cb4, 3.14, 1024, true, false);
43 process.nextTick(cb
[all...]
H A Dnext-tick-exec-args.js15 process.nextTick(onNextTick, i, true, 10, 'test');
17 process.nextTick(onNextTick, i, true, 10);
19 process.nextTick(onNextTick, i, 20);
21 process.nextTick(onNextTick, i);
H A Dnext-tick-loop-args.js28 process.nextTick(cb, i, true, 10, 'test');
30 process.nextTick(cb, i, true, 10);
32 process.nextTick(cb, i, 20);
34 process.nextTick(cb, i);
H A Dnext-tick-breadth-args.js38 process.nextTick(cb4, 3.14, 1024, true, false);
40 process.nextTick(cb3, 512, true, null);
42 process.nextTick(cb2, false, 5.1);
44 process.nextTick(cb1, 0);
H A Dnext-tick-depth.js10 process.nextTick(onNextTick);
13 process.nextTick(onNextTick);
/third_party/node/test/parallel/
H A Dtest-stream-construct.js64 process.nextTick(callback, new Error('test'));
77 process.nextTick(callback, new Error('test'));
91 process.nextTick(cb);
105 process.nextTick(cb);
121 process.nextTick(cb);
136 process.nextTick(cb);
156 process.nextTick(cb);
184 process.nextTick(cb);
203 process.nextTick(cb);
207 process.nextTick(c
[all...]
H A Dtest-promises-unhandled-rejections.js217 ' process.nextTick after rejection', function(done) {
227 process.nextTick(function() {
260 asyncTest('Attaching a promise catch in a process.nextTick is soon enough to' +
265 process.nextTick(function() {
270 asyncTest('Attaching a promise catch in a process.nextTick is soon enough to' +
277 process.nextTick(function() {
391 'nextTick-async rejected promise prevents unhandledRejection',
396 process.nextTick(function() {
401 process.nextTick(function() {
444 asyncTest('Waiting for some combination of process.nextTick
[all...]
H A Dtest-event-capture-rejections.js38 process.nextTick(captureRejectionsTwoHandlers);
62 process.nextTick(defaultValue);
83 process.nextTick(globalSetting);
103 process.nextTick(configurable);
125 process.nextTick(globalSettingNoConstructor);
145 process.nextTick(thenable);
171 process.nextTick(avoidLoopOnRejection);
197 process.nextTick(avoidLoopOnError);
223 process.nextTick(thenableThatThrows);
246 process.nextTick(resetCaptureOnThrowInErro
[all...]
H A Dtest-next-tick-errors.js29 // This nextTick function will throw an error. It should only be called once.
31 process.nextTick(function() {
37 // This nextTick function should remain in the queue when the first one
40 process.nextTick(function() {
46 process.nextTick(val);
67 // If we get here then the first process.nextTick got called twice
H A Dtest-fs-read-stream-err.js33 process.nextTick(common.mustCall(() => {
41 process.nextTick(cb);
51 process.nextTick(() => {
H A Dtest-fs-write-stream-autoclose-option.js16 process.nextTick(common.mustCall(function() {
33 process.nextTick(next2);
43 process.nextTick(common.mustCall(next3));
H A Dtest-process-next-tick.js32 process.nextTick(common.mustCall(cb));
43 () => process.nextTick(i),
H A Dtest-stream2-finish-pipe.js33 process.nextTick(cb, null);
38 // end() must be called in nextTick or a WRITE_AFTER_END error occurs.
39 process.nextTick(() => {
H A Dtest-cluster-child-index-dgram.js22 // `process.nextTick()` or `socket2.close()` would throw
24 process.nextTick(() => {
28 process.nextTick(() => {
H A Dtest-microtask-queue-integration.js44 process.nextTick(function() {
61 process.nextTick(test.bind(null, impl));
H A Dtest-repl-end-emits-exit.js40 process.nextTick(function() {
59 process.nextTick(function() {
/third_party/node/lib/internal/streams/
H A Ddestroy.js103 process.nextTick(emitErrorCloseNT, self, err);
105 process.nextTick(emitCloseNT, self);
189 // the error to be emitted nextTick. In a future
212 process.nextTick(emitErrorNT, stream, err);
241 process.nextTick(constructNT, stream);
276 process.nextTick(onConstruct, err);
279 process.nextTick(onConstruct, err);
293 process.nextTick(emitCloseLegacy, stream);
320 process.nextTick(emitErrorCloseLegacy, stream, err);
322 process.nextTick(emitCloseLegac
[all...]
H A Dend-of-stream.js209 process.nextTick(onclose);
212 process.nextTick(onclosed);
219 process.nextTick(onclosed);
225 process.nextTick(onclosed);
227 process.nextTick(onclosed);
255 process.nextTick(abort);
279 process.nextTick(abort);
292 process.nextTick(() => callback.apply(stream, args));
/third_party/node/lib/internal/readline/
H A Dcallbacks.js47 if (typeof callback === 'function') process.nextTick(callback, null);
67 if (typeof callback === 'function') process.nextTick(callback, null);
101 if (typeof callback === 'function') process.nextTick(callback, null);
120 if (typeof callback === 'function') process.nextTick(callback, null);
/third_party/node/test/pummel/
H A Dtest-stream-pipe-multi.js50 process.nextTick(this.emit.bind(this, 'drain'));
58 process.nextTick(this.close.bind(this));
118 process.nextTick(step);
121 process.nextTick(step);
/third_party/node/test/known_issues/
H A Dtest-vm-timeout-escape-nexttick.js4 // Promises, nextTick, and queueMicrotask allow code to escape the timeout
14 const nextTick = process.nextTick;
35 'nextTick(loop); loop();',
38 nextTick,
/third_party/node/lib/
H A Ddns.js197 process.nextTick(callback, null, []);
199 process.nextTick(callback, null, null, family === 6 ? 6 : 4);
207 process.nextTick(
210 process.nextTick(callback, null, hostname, matchedFamily);
225 process.nextTick(callback, dnsException(err, 'getaddrinfo', hostname));
/third_party/node/benchmark/timers/
H A Dtimers-timeout-nexttick.js20 process.nextTick(counter);
24 process.nextTick(counter);
/third_party/node/test/node-api/test_make_callback_recurse/
H A Dtest.js35 // The nextTick should run after all immediately invoked calls.
36 process.nextTick(common.mustCall(function() {
42 process.nextTick(common.mustCall(function() {
135 // Make sure nextTick, setImmediate and setTimeout can all recover properly
147 process.nextTick(common.mustCall(testTimer), 3);
/third_party/node/test/addons/make-callback-recurse/
H A Dtest.js34 // The nextTick should run after all immediately invoked calls.
35 process.nextTick(common.mustCall(() => {
41 process.nextTick(common.mustCall(() => {
134 // Make sure nextTick, setImmediate and setTimeout can all recover properly
146 process.nextTick(common.mustCall(testTimer), 3);

Completed in 6 milliseconds

12345678