Files
pdf-manager/node_modules/pdf-lib/es/utils/async.js
2025-05-13 12:01:17 +02:00

10 lines
287 B
JavaScript

/**
* Returns a Promise that resolves after at least one tick of the
* Macro Task Queue occurs.
*/
export var waitForTick = function () {
return new Promise(function (resolve) {
setTimeout(function () { return resolve(); }, 0);
});
};
//# sourceMappingURL=async.js.map