thenativeweb / node-eventstore

EventStore Implementation in node.js
http://eventstore.js.org/
MIT License
539 stars 117 forks source link

Opposite of getEventsSince #171

Open kojuka opened 3 years ago

kojuka commented 3 years ago

Love this library. Thank you!

I have a question about querying for the state of an aggregate. I need to get the the state of an event stream from its start to a certain timestamp. Is there a way to do this. It would work the same as getEventsSince but instead be something like getEventsUntil.

I see that you can add a limit to getEvents but that that doesn't quite do it as I'd like to be able to pass in a timestamp instead of a number of events to return.

Any suggestions?