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

Function sleepMs

quote/quote.ts:585–587  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

583}
584
585async function getPeerEntity(client: any, peer: any): Promise<any | undefined> {
586 if (!client || !peer) return undefined;
587 const key = JSON.stringify(peer, (_, v) => typeof v === "bigint" ? v.toString() : v);
588 if (entityCache.has(key)) return entityCache.get(key);
589 try {
590 const entity = await withTimeout(client.getEntity(peer), QUOTE_RPC_TIMEOUT_MS, "getPeerEntity.getEntity");

Callers 1

waitForStableFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected