pub fn spawn_task_heartbeat_with_interval<Store, LeaseExpiresFn>(
store: Store,
lease_guard: TaskLeaseGuard,
stop_token: CancellationToken,
interval: Duration,
lease_expires_at: LeaseExpiresFn,
) -> JoinHandle<()>Expand description
Spawns a heartbeat worker with the provided interval.