GlobalEventSubscriptionSourceInMemory
class GlobalEventSubscriptionSourceInMemory<EVENT : Any, EVENT_PERSISTED : Any>(storage: InMemoryEventStorage, globalTypes: EventTypeNames.Global<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, subscriptionConfig: InMemorySubscriptionConfig = InMemorySubscriptionConfig()) : GlobalEventSubscriptionSource<EVENT, CheckpointLong> (source)
Constructors
Link copied to clipboard
constructor(storage: InMemoryEventStorage, globalTypes: EventTypeNames.Global<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, 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.