MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / sleep

Function sleep

apps/host-selfhost/web/setup-status.ts:8–8  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

6const retryDelaysMs = [250, 500, 1_000] as const;
7
8const sleep = (ms: number): Promise<void> => new Promise((resolve) => setTimeout(resolve, ms));
9
10export class SetupStatusError extends Error {
11 constructor() {

Callers 1

fetchNeedsSetupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected