Interface ICloudNativeEventStoreChangeFeed
- Namespace
- Excalibur.Data.CloudNative
- Assembly
- Excalibur.Data.Abstractions.dll
Provides change feed subscription capabilities for cloud-native event stores. Obtain via GetService(Type) on an event store instance.
public interface ICloudNativeEventStoreChangeFeed
Methods
SubscribeToChangesAsync(IChangeFeedOptions?, CancellationToken)
Creates a subscription to the event store change feed.
Task<IChangeFeedSubscription<CloudStoredEvent>> SubscribeToChangesAsync(IChangeFeedOptions? options, CancellationToken cancellationToken)
Parameters
optionsIChangeFeedOptionsChange feed options.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<IChangeFeedSubscription<CloudStoredEvent>>
A subscription that streams stored events.