Skip to content

Index

diapason.heartbeat

Heartbeat + routines package (Diapason-style ambient automation).

clear_done(workspace=None)

Remove checked items under ## Now. Returns count removed.

run_heartbeat_tick(*, system=None, force=False, workspace=None, config=None)

Process the first pending ## Now item. No-op if empty.

run_routine(routine, *, system=None, force=False, workspace=None, config=None)

Execute one routine. Returns structured result.

sync_heartbeat_and_routines(scheduler, config=None, *, workspace=None)

Upsert heartbeat:tick + routine:{id} tasks. Returns summary.