MCPcopy Index your code
hub / github.com/callstack/agent-device / elapsedMs

Method elapsedMs

src/utils/retry.ts:67–69  ·  view source on GitHub ↗
(nowMs = Date.now())

Source from the content-addressed store, hash-verified

65 }
66
67 elapsedMs(nowMs = Date.now()): number {
68 return Math.max(0, nowMs - this.startedAtMs);
69 }
70
71 isExpired(nowMs = Date.now()): boolean {
72 return this.remainingMs(nowMs) <= 0;

Callers 3

retryWithPolicyFunction · 0.80
waitForAndroidBootFunction · 0.80
ensureBootedSimulatorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected