event-driven-io / emmett

Emmett - a Node.js library taking your event-driven applications back to the future!
https://event-driven-io.github.io/emmett/
195 stars 19 forks source link

Added read event metadata #69

Closed oskardudycz closed 5 months ago

oskardudycz commented 5 months ago

Some metadata, such as event ID, stream position, and log position, are set internally by the event store. Currently, they were not returned upon reading. Having that information may be needed in some cases.

This is also a step in preparation for adding subscriptions and projections to Emmett. For those, metadata will be much more needed.