ctrlrun.EventSink — class, defined at src/ctrlrun/receipt.py:410
Event and Receipt goes (SPEC-v0.2 §4.1).
Control calls a sink after the authoritative store write for that record has
succeeded, in registration order, with the event_id the store assigned. A sink is the
interface for the copies; it is not the interface for the record — the store’s own
events and receipts tables are written inside the store, in its transaction, before
any sink runs (§4.3).
Sinks are not transactional, not ordered across processes, and not retried. A sink that
must not lose records buffers and retries inside itself. And a sink never raises into the
kernel: Control catches every Exception and carries on (§4.2).