Persisted struct
#181
Replies: 1 comment
-
As for As for the type definition:
|
Beta Was this translation helpful? Give feedback.
Persisted struct
#181
-
As for As for the type definition:
|
Beta Was this translation helpful? Give feedback.
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 haveBeta Was this translation helpful? Give feedback.
All reactions