//! Where the loop's `stream-json` events go (ADR-0014).
use Event;
/// A sink for the loop's [`Event`]s. `&mut self` so a writer sink can buffer/flush;
/// object-safe so `locode-exec` can pick one at runtime by `--output-format`.
/// Drops every event — for the `json`/`text` output modes that only want the report.
;
/// Forwards each event to a closure — e.g. a JSONL stdout writer for `stream-json`,
/// or a `Vec`-pushing closure in tests.
;