MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getNextFireTime

Function getNextFireTime

src/utils/cronScheduler.ts:520–529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

518 }
519 },
520 getNextFireTime() {
521 // nextFireAt uses Infinity for "never" (in-flight one-shots, bad cron
522 // strings). Filter those out so callers can distinguish "soon" from
523 // "nothing pending".
524 let min = Infinity
525 for (const t of nextFireAt.values()) {
526 if (t < min) min = t
527 }
528 return min === Infinity ? null : min
529 },
530 }
531}
532

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected