Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

ClusterCron

1 exports Since v1.0.0 Source

Constructors

Since v1.0.0

Signature

declare function make<E, R>(options: {
readonly calculateNextRunFromPrevious?: boolean;
readonly cron: Cron;
readonly execute: Effect<void, E, R>;
readonly name: string;
readonly shardGroup?: string;
readonly skipIfOlderThan?: any;
}): Layer<never, never, Sharding | Exclude<R, Scope>>