# `Continuum.Runtime.Lease.Heartbeater`
[🔗](https://github.com/Yyeger/Continuum/blob/main/lib/continuum/runtime/lease/heartbeater.ex#L1)

Renews leases owned by local workflow engines.

Engines register their acquired lease here. On each heartbeat, the process
renews every registered lease with the same owner/token pair. If renewal
fails because the row no longer matches, the engine is told to stop itself.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `renew_once`

Renew all tracked leases immediately.

This is mainly useful for deterministic tests and shutdown paths.

# `track`

Track a lease for periodic renewal.

# `untrack`

Stop tracking a run's lease.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
