MCPcopy
hub / github.com/browserless/browserless / sleep

Function sleep

scripts/leak-check.js:48–48  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

46);
47
48const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
49
50const settleAndMeasure = async () => {
51 // Multiple GC passes pick up objects freed by finalizers in between

Callers 3

settleAndMeasureFunction · 0.70
scenariosFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected