MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / _queueMicrotask

Function _queueMicrotask

out/cli.cjs:10510–10518  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

10508 PerformPromiseThen(promise, void 0, rethrowAssertionErrorRejection);
10509 }
10510 let _queueMicrotask = (callback) => {
10511 if (typeof queueMicrotask === "function") {
10512 _queueMicrotask = queueMicrotask;
10513 } else {
10514 const resolvedPromise = promiseResolvedWith(void 0);
10515 _queueMicrotask = (cb) => PerformPromiseThen(resolvedPromise, cb);
10516 }
10517 return _queueMicrotask(callback);
10518 };
10519 function reflectCall(F5, V6, args) {
10520 if (typeof F5 !== "function") {
10521 throw new TypeError("Argument is not a function");

Callers 4

_nextStepsMethod · 0.85
pullAlgorithmFunction · 0.85
pullWithDefaultReaderFunction · 0.85
pullWithBYOBReaderFunction · 0.85

Calls 2

promiseResolvedWithFunction · 0.85
PerformPromiseThenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…