load

open override fun <S : Any> load(aggregateId: AggregateId): Mono<Snapshot<S>>

Loads a snapshot from the in-memory map by deserializing the JSON string.

Return

a Mono emitting the snapshot or empty if not found

Parameters

aggregateId

the ID of the aggregate