Skip to content

Conversation

hashemix
Copy link
Member

πŸ“Œ Summary

Enhanced EventStore trait with additional methods and event handling and stability

✨ Changes Made

  • added count() method to the EventStore trait
  • added prune_excess_events() method to the EventStore trait for removing events from the store using any custom logic like timestamp or capacity
  • Introduced EventStoreError for better error handling support

πŸ› οΈ Testing Steps

cargo make check

πŸ’‘ Additional Notes

This is another step toward making the SDK more framework-agnostic and extensible, with planned support for HTTP frameworks like Actix and serverless platforms such as AWS Lambda.

@hashemix hashemix changed the title refactor: EventStore with better error handling and stability refactor: eventstore with better error handling and stability Oct 15, 2025
@hashemix hashemix changed the title refactor: eventstore with better error handling and stability refactor: eventstore with better error handling and stability. Oct 15, 2025
@hashemix hashemix changed the title refactor: eventstore with better error handling and stability. refactor: eventstore with better error handling and stability Oct 15, 2025
@hashemix hashemix merged commit 150e3a0 into main Oct 15, 2025
9 of 14 checks passed
@hashemix hashemix mentioned this pull request Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant