emit

open override fun emit(nextState: S)

Emits nextState to the state stream and persists it to storage.

Persistence is skipped during the initial restore pass to avoid a redundant write of data that was just read.