Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/proactive / / HeartbeatSchedule

Interface: HeartbeatSchedule

Defined in: packages/proactive/src/heartbeat.ts:38

Stable

When the heartbeat fires. Exactly one of every / cron is required. jitterMs / expiresAt pass through to the trigger declaration (the scheduler harness).

Properties

PropertyModifierTypeDescriptionDefined in
cron?readonlystring5-field cron expression.packages/proactive/src/heartbeat.ts:42
every?readonlynumberFixed interval in milliseconds.packages/proactive/src/heartbeat.ts:40
expiresAt?readonlystring | numberAuto-pause instant.packages/proactive/src/heartbeat.ts:48
jitterMs?readonlynumberDeterministic per-id jitter.packages/proactive/src/heartbeat.ts:46
timezone?readonlystringIANA timezone for the cron expression.packages/proactive/src/heartbeat.ts:44