/third_party/node/test/fixtures/wpt/html/webappapis/microtask-queuing/ |
D | queue-microtask.any.js | 5 assert_equals(typeof queueMicrotask, "function"); 9 assert_throws(new TypeError(), () => queueMicrotask(), "no argument"); 10 assert_throws(new TypeError(), () => queueMicrotask(undefined), "undefined"); 11 assert_throws(new TypeError(), () => queueMicrotask(null), "null"); 12 assert_throws(new TypeError(), () => queueMicrotask(0), "0"); 13 …assert_throws(new TypeError(), () => queueMicrotask({ handleEvent() { } }), "an event handler obje… 14 assert_throws(new TypeError(), () => queueMicrotask("window.x = 5;"), "a string"); 19 queueMicrotask(t.step_func_done(() => { 26 queueMicrotask(t.step_func_done(function () { // note: intentionally not an arrow function 34 queueMicrotask(() => happenings.push("b")); [all …]
|
D | queue-microtask.window.js | 20 queueMicrotask(() => happenings.push("a")); 22 queueMicrotask(() => { 33 queueMicrotask(() => happenings.push("a")); 37 queueMicrotask(() => happenings.push("b")); 38 queueMicrotask(() => happenings.push("c")); 40 queueMicrotask(() => {
|
D | queue-microtask-exceptions.any.js | 14 queueMicrotask(() => { throw error; });
|
/third_party/node/test/parallel/ |
D | test-queue-microtask.js | 6 assert.strictEqual(typeof queueMicrotask, 'function'); 15 queueMicrotask(t); 23 queueMicrotask(common.mustCall(() => { 29 queueMicrotask(common.mustCall(function() { 36 queueMicrotask(common.mustCall(() => q.push('b'))); 39 queueMicrotask(common.mustCall(() => { 56 queueMicrotask(common.mustCall(() => { 60 queueMicrotask(class {});
|
D | test-readline-tab-complete.js | 97 queueMicrotask(() => { 130 queueMicrotask(() => { 132 queueMicrotask(() => {
|
D | test-queue-microtask-uncaught-asynchooks.js | 31 queueMicrotask(() => { throw new Error(); });
|
D | test-inspector-connect-main-thread.js | 98 await new Promise(queueMicrotask);
|
/third_party/node/benchmark/process/ |
D | queue-microtask-depth.js | 10 queueMicrotask(onNextTick); 13 queueMicrotask(onNextTick);
|
D | queue-microtask-breadth.js | 19 queueMicrotask(cb);
|
/third_party/node/lib/internal/process/ |
D | task_queues.js | 150 function queueMicrotask(callback) { function 175 queueMicrotask field
|
/third_party/node/lib/ |
D | inspector.js | 28 const { queueMicrotask } = require('internal/process/task_queues'); 68 (message) => queueMicrotask(() => this[onMessageSymbol](message)));
|
/third_party/node/test/message/ |
D | async_error_microtask_main.js | 13 queueMicrotask(main);
|
/third_party/node/test/async-hooks/ |
D | test-queue-microtask.js | 14 queueMicrotask(common.mustCall(() => {
|
D | test-destroy-not-blocked.js | 46 queueMicrotask(common.mustCall(() =>
|
/third_party/node/test/known_issues/ |
D | test-vm-timeout-escape-queuemicrotask.js | 35 queueMicrotask, property
|
/third_party/node/doc/api/ |
D | globals.md | 220 ## `queueMicrotask(callback)` 229 The `queueMicrotask()` method queues a microtask to invoke `callback`. If 239 // Here, `queueMicrotask()` is used to ensure the 'load' event is always 247 queueMicrotask(() => {
|
D | process.md | 1732 ### When to use `queueMicrotask()` vs. `process.nextTick()` 1734 The [`queueMicrotask()`][] API is an alternative to `process.nextTick()` that 1742 queueMicrotask(() => console.log(3)); 1750 For *most* userland use cases, the `queueMicrotask()` API provides a portable 1753 In simple scenarios, `queueMicrotask()` can be a drop-in replacement for 1758 queueMicrotask(() => { 1771 `queueMicrotask()` requires using either a closure or a bound function: 1779 queueMicrotask(deferred.bind(undefined, 1, 2)); 1794 needed, use `queueMicrotask()`. 2787 [`queueMicrotask()`]: globals.md#globals_queuemicrotask_callback
|
D | vm.md | 1410 `queueMicrotask()`, `setTimeout()`, `setImmediate()`, etc. are made available
|
/third_party/node/lib/internal/bootstrap/ |
D | node.js | 116 queueMicrotask 147 defineOperation(globalThis, 'queueMicrotask', queueMicrotask);
|
/third_party/typescript/tests/baselines/reference/ |
D | globalThisBlockscopedProperties.types | 67 … "clearInterval" | "clearTimeout" | "createImageBitmap" | "fetch" | "queueMicrotask" | "setInterva…
|
/third_party/node/test/common/ |
D | index.js | 266 queueMicrotask,
|
/third_party/typescript/lib/ |
D | lib.webworker.d.ts | 5412 queueMicrotask(callback: VoidFunction): void; method 5951 declare function queueMicrotask(callback: VoidFunction): void;
|
/third_party/typescript/src/lib/ |
D | webworker.generated.d.ts | 5392 queueMicrotask(callback: VoidFunction): void; method 5931 declare function queueMicrotask(callback: VoidFunction): void;
|
/third_party/node/test/fixtures/wpt/interfaces/ |
D | html.idl | 1913 void queueMicrotask(VoidFunction callback);
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V11.md | 324 …b.com/nodejs/node/commit/255de69596)] - **process**: refactor global.queueMicrotask() (Joyee Cheun… 2428 …s/node/commit/ee299c7ef1)] - **doc**: remove "idiomatic choice" from queueMicrotask (Rod Vagg) [#2… 2513 …* An experimental implementation of `queueMicrotask()` has been added. [#22951](https://github.com… 2596 …ejs/node/commit/de0441f6f6)] - **(SEMVER-MAJOR)** **lib**: implement queueMicrotask (Gus Caplan) […
|