Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
import
{ fileURLToPath } from
'node:url'
;
8
9
const
sleep = ms =>
new
Promise(r => setTimeout(r, ms));
10
11
const
repoRoot = join(dirname(fileURLToPath(
import
.meta.url)),
'..'
);
12
const
credPath = join(repoRoot,
'credentials.json'
);
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected