MCPcopy Create free account
hub / github.com/chhoumann/quickadd / monotonicNow

Function monotonicNow

scripts/stop-obsidian-e2e-instance.mjs:415–417  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

413// setTimeout-based polling needs a monotonic clock; Date.now is adequate here and
414// keeps the helper trivially mockable in tests via the injected clock.
415function monotonicNow() {
416 return Date.now();
417}
418
419async function main() {
420 const rawOptions = parseArgs(process.argv.slice(2));

Callers 1

stopInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected