Skip to main content Link Search Menu Expand Document (external link)

ClusterCron.ts overview

Since v1.0.0


Exports Grouped by Category


Constructors

make

Signature

declare const make: <E, R>(options: {
  readonly name: string
  readonly cron: Cron.Cron
  readonly execute: Effect.Effect<void, E, R>
  readonly shardGroup?: string | undefined
  readonly calculateNextRunFromPrevious?: boolean | undefined
  readonly skipIfOlderThan?: Duration.DurationInput | undefined
}) => Layer.Layer<never, never, Sharding | Exclude<R, Scope>>

Source

Since v1.0.0