MCPcopy Index your code
hub / github.com/Effect-TS/effect / next

Function next

packages/effect/src/Cron.ts:447–449  ·  view source on GitHub ↗
(cron: Cron, startFrom?: DateTime.DateTime.Input)

Source from the content-addressed store, hash-verified

445 * @since 2.0.0
446 */
447export const next = (cron: Cron, startFrom?: DateTime.DateTime.Input): Date => {
448 return stepCron(cron, startFrom, "next")
449}
450
451/**
452 * Returns the previous run `Date` for the given `Cron` instance.

Callers 1

Cron.tsFile · 0.70

Calls 1

stepCronFunction · 0.85

Tested by

no test coverage detected