MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / stall

Function stall

lib.esm/_tests/utils.js:34–36  ·  view source on GitHub ↗
(duration)

Source from the content-addressed store, hash-verified

32 }
33}
34export async function stall(duration) {
35 return new Promise((resolve) => { setTimeout(resolve, duration); });
36}
37const ATTEMPTS = 5;
38export async function retryIt(name, func) {
39 //const errors: Array<Error> = [ ];

Callers 2

retryItFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected