AggregateEventSubscriptionSourceInMemory
class AggregateEventSubscriptionSourceInMemory<EVENT : Any, EVENT_PERSISTED : Any>(eventTypes: EventTypeNames.ForAggregate<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, storage: InMemoryEventStorage, subscriptionConfig: InMemorySubscriptionConfig = InMemorySubscriptionConfig()) : AggregateEventSubscriptionSource<EVENT, CheckpointLong> (source)
Constructors
Link copied to clipboard
constructor(eventTypes: EventTypeNames.ForAggregate<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, storage: InMemoryEventStorage, subscriptionConfig: InMemorySubscriptionConfig = InMemorySubscriptionConfig())
Functions
Link copied to clipboard
open override fun subscribeToEvents(start: SubscriptionStart<CheckpointLong> = SubscriptionStart.FromBeginning, filter: EventFilter = EventFilter(), options: SubscriptionOptions? = null): EventSubscription<EVENT, CheckpointLong>
Opens an independent subscription from start.