Files
2026-02-04 00:11:19 +05:00

10 lines
287 B
JavaScript
Executable File

/**
* 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