@pwngh/economy-lab
    Preparing search index...

    Function detectSilences

    • Checks each declared watchdog — a signal the host says beats on a cadence, such as a worker sweep — and returns one finding per signal silent for more than twice its declared cadence. Silence is measured from the later of the last beat and watchStartedAt, so a worker that never started is caught too. Returns an empty array when every watchdog is beating.

      Parameters

      • signals: SignalFeed
      • now: number
      • watchdogs: readonly { everyMs: number; signal: string }[]
      • watchStartedAt: number

      Returns readonly SilenceFinding[]