GlobalEventSubscriptionSourceKurrent
class GlobalEventSubscriptionSourceKurrent<EVENT : Any, EVENT_PERSISTED : Any>(client: KurrentDBClient, codec: Codec<EVENT, EVENT_PERSISTED>, globalTypes: EventTypeNames.Global<EVENT>, subscriptionConfig: KurrentSubscriptionConfig = KurrentSubscriptionConfig(), streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : GlobalEventSubscriptionSource<EVENT, CheckpointKurrent> (source)
Constructors
Link copied to clipboard
constructor(client: KurrentDBClient, codec: Codec<EVENT, EVENT_PERSISTED>, globalTypes: EventTypeNames.Global<EVENT>, subscriptionConfig: KurrentSubscriptionConfig = KurrentSubscriptionConfig(), streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX)
Functions
Link copied to clipboard
open override fun subscribeToEvents(start: SubscriptionStart<CheckpointKurrent>, filter: EventFilter, options: SubscriptionOptions?): EventSubscription<EVENT, CheckpointKurrent>