first commit
This commit is contained in:
10
node_modules/pdf-lib/es/utils/async.js
generated
vendored
Normal file
10
node_modules/pdf-lib/es/utils/async.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 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
|
||||
Reference in New Issue
Block a user