MCPcopy Create free account
hub / github.com/FxEmbed/FxEmbed / sleep

Function sleep

tools/add_csrf.mjs:9–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import { fileURLToPath } from 'node:url';
8
9const sleep = ms => new Promise(r => setTimeout(r, ms));
10
11const repoRoot = join(dirname(fileURLToPath(import.meta.url)), '..');
12const credPath = join(repoRoot, 'credentials.json');

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected