StationHeartbeat
One loop the station runs, and when it last came round.
Two timestamps and no verdict, because the loop cannot supply one: a five-second reconcile and a nightly sweep are both healthy and no single threshold describes both.
Heartbeatitself takes this position — it answers how long it has been and lets the reader decide — and astalledboolean here would be this module inventing the threshold that file deliberately refuses to.
lastBeatis absent until a loop finishes its first pass, which is whystartedAtis there: from the two of them a reader can tell a loop that has never completed anything from one that stopped.
Attributes (3)
| Attribute | Type | Required | Description |
|---|---|---|---|
name | string | Yes | read-only |
startedAt | string | Yes | When the loop registered, which is when it was last (re)started. read-only |
lastBeat | string | No | When it last completed a pass. Absent until it completes its first. read-only |