MCPcopy Create free account
hub / github.com/Effect-TS/effect / next

Function next

packages/effect/src/Cron.ts:869–871  ·  view source on GitHub ↗
(cron: Cron, now?: DateTime.DateTime.Input)

Source from the content-addressed store, hash-verified

867 * @since 2.0.0
868 */
869export const next = (cron: Cron, now?: DateTime.DateTime.Input): Date => {
870 return stepCron(cron, now, "next")
871}
872
873/**
874 * Returns the previous scheduled date/time for the given Cron instance.

Callers 6

Cron.tsFile · 0.70
captureRequirementsFunction · 0.70
getRollupOptionsMethod · 0.50
RateLimitClass · 0.50
10_basics.tsFile · 0.50
20_testing.tsFile · 0.50

Calls 1

stepCronFunction · 0.85

Tested by

no test coverage detected