read

suspend fun read(stream: EventStreamRecord): SerializedState

The state after stream.


suspend fun read(stream: EventStreamRecord, snapshot: SnapshotRecord?): SerializedState

The state after stream, with snapshot, the aggregate's snapshot the caller already loaded, if any.