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

Function next

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

Source from the content-addressed store, hash-verified

787 * @since 2.0.0
788 */
789export const next = (cron: Cron, now?: DateTime.DateTime.Input): Date => {
790 return stepCron(cron, now, "next")
791}
792
793/**
794 * Returns the previous scheduled date/time for the given Cron instance.

Callers 9

Cron.tsFile · 0.70
makeParserFunction · 0.70
getRollupOptionsMethod · 0.50
rpc-schemas.tsFile · 0.50
rpc-schemas.tsFile · 0.50
HttpApi.test.tsFile · 0.50
rpc-schemas.tsFile · 0.50
10_basics.tsFile · 0.50
20_testing.tsFile · 0.50

Calls 1

stepCronFunction · 0.85

Tested by

no test coverage detected