/third_party/node/benchmark/process/ |
H A D | next-tick-depth-args.js | 13 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 D | next-tick-exec-args.js | 15 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 D | next-tick-loop-args.js | 28 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 D | next-tick-breadth-args.js | 38 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 D | next-tick-depth.js | 10 process.nextTick(onNextTick); 13 process.nextTick(onNextTick);
|
/third_party/node/test/parallel/ |
H A D | test-stream-construct.js | 64 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 D | test-promises-unhandled-rejections.js | 217 ' 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 D | test-event-capture-rejections.js | 38 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 D | test-next-tick-errors.js | 29 // 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 D | test-fs-read-stream-err.js | 33 process.nextTick(common.mustCall(() => { 41 process.nextTick(cb); 51 process.nextTick(() => {
|
H A D | test-fs-write-stream-autoclose-option.js | 16 process.nextTick(common.mustCall(function() { 33 process.nextTick(next2); 43 process.nextTick(common.mustCall(next3));
|
H A D | test-process-next-tick.js | 32 process.nextTick(common.mustCall(cb)); 43 () => process.nextTick(i),
|
H A D | test-stream2-finish-pipe.js | 33 process.nextTick(cb, null); 38 // end() must be called in nextTick or a WRITE_AFTER_END error occurs. 39 process.nextTick(() => {
|
H A D | test-cluster-child-index-dgram.js | 22 // `process.nextTick()` or `socket2.close()` would throw 24 process.nextTick(() => { 28 process.nextTick(() => {
|
H A D | test-microtask-queue-integration.js | 44 process.nextTick(function() { 61 process.nextTick(test.bind(null, impl));
|
H A D | test-repl-end-emits-exit.js | 40 process.nextTick(function() { 59 process.nextTick(function() {
|
/third_party/node/lib/internal/streams/ |
H A D | destroy.js | 103 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 D | end-of-stream.js | 209 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 D | callbacks.js | 47 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 D | test-stream-pipe-multi.js | 50 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 D | test-vm-timeout-escape-nexttick.js | 4 // 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 D | dns.js | 197 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 D | timers-timeout-nexttick.js | 20 process.nextTick(counter); 24 process.nextTick(counter);
|
/third_party/node/test/node-api/test_make_callback_recurse/ |
H A D | test.js | 35 // 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 D | test.js | 34 // 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);
|