DelayEventStore
class DelayEventStore(delaySupplier: () -> Duration = { Duration.ofMillis(5) }, val delegate: EventStore = InMemoryEventStore()) : EventStore, Decorator<EventStore>
Constructors
Link copied to clipboard
constructor(delaySupplier: () -> Duration = { Duration.ofMillis(5) }, delegate: EventStore = InMemoryEventStore())
Functions
Link copied to clipboard
Link copied to clipboard
open override fun load(aggregateId: AggregateId, headVersion: Int, tailVersion: Int): Flux<DomainEventStream>
open override fun load(aggregateId: AggregateId, headEventTime: Long, tailEventTime: Long): Flux<DomainEventStream>