onEvent

open override fun onEvent(stateEventExchange: StateEventExchange<*>): Mono<Void>

Handles a state event by creating and saving a snapshot.

Return

a Mono that completes when the snapshot is saved

Parameters

stateEventExchange

the state event exchange to process