EventStore-Client-Dotnet
EventStore-Client-Dotnet copied to clipboard
Align catch-up and persistent subscription Subscribe
Catch-up subscriptions have the ability to tweak the client operation options:
public Task<StreamSubscription> SubscribeToStreamAsync(
...
Action<EventStoreClientOperationOptions>? configureOperationOptions = null,
...
{
EventStoreClientOperationOptions operationOptions = this.Settings.OperationOptions.Clone();
if (configureOperationOptions != null)
configureOperationOptions(operationOptions);
return this.SubscribeToStreamAsync(streamName, eventAppeared, operationOptions, resolveLinkTos, subscriptionDropped, userCredentials, cancellationToken);
}
However, for persistent subscriptions, there is no such possibility, it just clones the client settings, as in the snippet above, but doesn't provide any options to tweak the settings.
Is it by design, why can one tweak client operation options for catch-up subscriptions, but not for persistent subscriptions?