I want to be able to subscribe to all user created streams and exclude the ‘$’ system generated ones.
My code currently looks like:
_subscription = _connection.SubscribeToAllFrom(position,
false,
EventAppeared,
ProcessingStarted,
SubscriptionDropped,
new UserCredentials(eventstoreUsername, eventstorePassword));
``
And in EventAppeared I’m checking for system generated streams and ignoring them.
if (resolvedEvent.OriginalStreamId.Contains("$")) return;
``
But I’m sure there must be a way to subscribe to all excluding the system generated streams.