Spaces:
Running
Running
Download 731ai/node_modules/pdf-lib/src/utils/async.ts from u11310019/interactive-multi-web: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731ai/node_modules/pdf-lib/src/utils/async.ts
- Command line
-
hf download hf://spaces/u11310019/interactive-multi-web/731ai/node_modules/pdf-lib/src/utils/async.ts
-
curl -L -o async.ts https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731ai/node_modules/pdf-lib/src/utils/async.ts
221 Bytes
| /** | |
| * 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); | |
| }); | |