namespace Svrnty.CQRS.Events.Abstractions.Subscriptions; /// /// Status of a persistent subscription. /// public enum SubscriptionStatus { /// /// Subscription is active and receiving events. /// Active = 0, /// /// Subscription completed (terminal event received). /// Completed = 1, /// /// Subscription expired (TTL reached). /// Expired = 2, /// /// Subscription cancelled by user. /// Cancelled = 3, /// /// Subscription paused (temporarily inactive). /// Paused = 4 } /// /// How events should be delivered to clients. /// public enum DeliveryMode { /// /// Push events immediately when they occur. /// Immediate = 0, /// /// Batch events and deliver periodically. /// Batched = 1, /// /// Only deliver on reconnect (saves bandwidth for background updates). /// OnReconnect = 2 }