Persisted struct
#181
Unanswered
danieleades
asked this question in
Q&A
Replies: 1 comment
As for As for the type definition:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
sorry, just a couple of small questions about the
Persistedstruct.what's the different between the 'version' and the 'sequence number'? what are these each used for?
Also, I was looking at the
inmemory::EventStoreand how you would implement #49 on it.I think if you change the 'backend' from
to
then the
RangeBoundsmethod are supported pretty naturally. (you would need to implementOrdforPersisted, or useBTreeMapinstead).It's slightly irksome that the
Idappears twice in this type signature. Is it possible to move theIdout of thePersistedstruct? so that you haveAll reactions