Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventstore adapter: saveEvent now returns the next cursor, add getCursorUntilEventTypes #1878

Merged
merged 5 commits into from
May 21, 2021

Conversation

FreeSlave
Copy link
Contributor

@FreeSlave FreeSlave commented May 21, 2021

getCursorUntilEventTypes (the name is debatable) advances the passed cursor to the point of the first event of specified type or to the last cursor.
saveEvent now returns the next cursor.
Both features are planned to contribute to the read-model optimizations in future.

Also added convenient functions to work with cursors.

@FreeSlave FreeSlave added the feature Implements a feature label May 21, 2021
@FreeSlave FreeSlave requested a review from IhostVlad May 21, 2021 10:54
@FreeSlave FreeSlave requested a review from resolve-bot as a code owner May 21, 2021 10:54
@FreeSlave FreeSlave changed the title Eventstore adapter: saveLoad now returns the next cursor, add getCursorUntilEventTypes Eventstore adapter: saveEvent now returns the next cursor, add getCursorUntilEventTypes May 21, 2021
@FreeSlave FreeSlave merged commit e805962 into dev May 21, 2021
@FreeSlave FreeSlave deleted the feature/cursor-operations branch July 7, 2021 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Implements a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants