load

open override fun <S : Any> load(aggregateId: AggregateId, metadata: StateAggregateMetadata<S>, tailVersion: Int): Mono<StateAggregate<S>>

Load State Aggregate.

stateAggregate.initialized=false means that no aggregate was found.

Parameters

tailVersion

Int.MAX_VALUE means that the latest version is loaded.