x-cubed / event-store-client

JS client library for connecting to Event Store over TCP/IP
The Unlicense
71 stars 24 forks source link

Subscription to all events #2

Open lsem opened 8 years ago

lsem commented 8 years ago

Cannot find facilities for subscription to all events being written to EventStore. In C# official client we have SubscribeToAllFrom(lastCheckpoint, ...) for such purposes.

Are there any alternatives in event-store-client?

x-cubed commented 8 years ago

Feel free to submit a pull request that implements that functionality.

ZBlocker655 commented 8 years ago

Note: there is now a CatchUpSubscriptions module as of issue #3 but I have stubbed out the "All" version of catch-up subscriptions. The first thing that needs to be implemented is Connection.subscribeToAll. Then someone can go build out the subclass EventStoreAllCatchUpSubscription which is found in the catchUpSubscriptions module.