MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / sleep

Function sleep

aban/aban.ts:49–49  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

47 if (typeof seconds === "number" && Number.isFinite(seconds)) return seconds;
48 return null;
49}
50
51const sleep = (ms: number) => new Promise<void>((r) => setTimeout(r, ms));
52

Callers 1

attemptMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected