IView Interface
IView
Represents the event handling algorithm, responsible for translating the events into denormalized state, which is more adequate for querying.
A function/lambda that takes input state of type Si and input event of type Ei as parameters, and returns the output/new state So
Si
Ei
So
A starting point / An initial state of type So
Иван Дугалић / Ivan Dugalic /
State
Event
Readonly
Generated using TypeDoc
IView
InterfaceRepresents the event handling algorithm, responsible for translating the events into denormalized state, which is more adequate for querying.
Param: evolve
A function/lambda that takes input state of type
Si
and input event of typeEi
as parameters, and returns the output/new stateSo
Param: initialState
A starting point / An initial state of type
So
Author
Иван Дугалић / Ivan Dugalic /
Idugalic