NoOpSnapshotStore

No-operation implementation of SnapshotStore that does nothing. Useful for testing or when snapshots are not needed.

Properties

Link copied to clipboard
const val NAME: String

The name of this store.

Link copied to clipboard
open override val name: String

The name of this store.

Functions

Link copied to clipboard
open override fun <S : Any> load(aggregateId: AggregateId): Mono<Snapshot<S>>

Always returns empty, as this is a no-op store.

Link copied to clipboard
open override fun <S : Any> save(snapshot: Snapshot<S>): Mono<Void>

Does nothing, as this is a no-op store.