replace

fun replace(events: List<StoredEvent>)

Atomically replaces hydrated history when the active app-run changes.