Files
Investidor-V2/outputs/investmoz-audit-current-20261012/node_modules/pdf-lib/src/utils/async.ts
T
nala ba1c0340ea
tests / ci (push) Canceled after 0s
oportunidades 8
2026-10-14 08:25:30 +02:00

9 lines
221 B
TypeScript

/**
* Returns a Promise that resolves after at least one tick of the
* Macro Task Queue occurs.
*/
export const waitForTick = (): Promise<void> =>
new Promise((resolve) => {
setTimeout(() => resolve(), 0);
});