Skip to main content

append_entries

Function append_entries 

Source
pub async fn append_entries(
    session_id: &str,
    entries: &[JournalEntry],
) -> Result<()>
Expand description

Append journal entries to <session-id>.journal.jsonl.

Best-effort durability helper used by lifecycle call sites such as Session::save. The journal remains append-only: callers hand us a pre-built ordered slice and we stream it as JSONL.