MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / sleep

Function sleep

tooling/scripts/sidebar-vim-smoke.mjs:51–51  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

49 return Number.isFinite(n) && n > 0 ? n : fallback
50}
51const sleep = (ms) => new Promise((r) => setTimeout(r, ms))
52const pad = (n) => String(n).padStart(5, '0')
53const lastNoteFile = `${pad(NOTE_COUNT - 1)} - note.md`
54

Callers 3

connectPageFunction · 0.70
untilFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected