GlobalEventSubscriptionSourceInMemory

Constructors

Link copied to clipboard
constructor(storage: InMemoryEventStorage, globalTypes: EventTypeNames.Global<EVENT>, codec: Codec<EVENT, EVENT_PERSISTED>, subscriptionConfig: InMemorySubscriptionConfig = InMemorySubscriptionConfig())

Properties

Link copied to clipboard
open override val isClosed: Boolean

Functions

Link copied to clipboard
open suspend override fun close()
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.