MCPcopy Create free account
hub / github.com/Xyntopia/taskyon / sleep

Function sleep

src/modules/utils.ts:30–32  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

28
29// Async sleep function
30export function sleep(ms: number) {
31 return new Promise((resolve) => setTimeout(resolve, ms));
32}
33
34export function lruCache<ReturnType>(
35 size: number,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected