Closed krzysztofreczek closed 1 year ago
@m110, I found some of the documentation difficult to maintain. I moved the interface method docs closer to the signatures. https://github.com/ThreeDotsLabs/esja/pull/14/commits/16cb12d4ace17dba7cbfb9aa19883783112aa196
Here is the PoC for a little bit of changed implementation of Stream/Events relation.
What I wanted to achieve:
Stream[Foo] / Events[Foo]
instead ofStream[*Foo]
, and use pointers to the generic type only when it is necessary.PopChanges
,Load...
etc., and do not require the user to know how to implement that properly.stream.New[T](eq Events[T]) T
stream.Record[T](*T, e Event[T]) error