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

Function sleep

e2e/src/clients/chat-theater.ts:60–60  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

58}
59
60const sleep = (ms: number) => new Promise<void>((tick) => setTimeout(tick, ms));
61
62const encode = (event: TheaterEvent) =>
63 `${Buffer.from(JSON.stringify(event)).toString("base64")}\n`;

Callers 2

ptyTheaterFunction · 0.70
deskTheaterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected