Skip to content

Subscription

API reference for Subscription

@delta-base/server


Complete subscription information

createdAt: string

When this subscription was created


eventFilter: string

The event pattern this subscription is filtering on


eventStoreId: string

The event store this subscription is connected to


optional isExistingSubscription: boolean

Whether this is an existing subscription that was found instead of creating a new one


optional lastProcessedEventGlobalPosition: number

The global position of the last successfully delivered event


optional message: string

Human-readable message about the subscription operation


status: SubscriptionStatus

Current status of the subscription


optional statusDetails: SubscriptionStatusDetails

Additional details about the current status


subscriberId: string

The ID of the subscriber


subscriberType: SubscriberType

Type of subscriber receiving events


subscriptionId: string

Unique identifier for this subscription


updatedAt: string

When this subscription was last updated