↖ Articles  /  2024-07-03
2024-07-03architectureDraft — body copy is placeholder

Event sourcing when the auditor is the user

Placeholder body copy. This page exists to show how an article reads in this design — the type scale, the measure, and how code, lists and quotes sit inside the text. The real piece replaces everything below.

A section heading

Body text runs at a width that lands a line between sixty and seventy-five characters, which is the range that stays comfortable over more than a screen of reading.

/// Long lines scroll sideways rather than wrap.
pub fn append(&mut self, event: Event) -> Result<Sequence, StoreError> {
    let seq = self.next_sequence();
    self.log.push(Recorded { seq, at: Utc::now(), event });
    Ok(seq)
}

A diagram, to show how one reads in this design:

signs stepyesnoOperatorCommandvalid?Append eventRejectEvent logProjection

A pulled quote, for the one sentence carrying the argument.

A closing paragraph, so the end of a piece has the same rhythm as its opening.

CAME OUT OF
↖ Newer
One Rust core, four client libraries: shipping with napi.rs