Current design is implemented as:
def dispatch(state, event, actor) -> NewState:
....
Like a calculator. But execution in function seems ambiguous, with in-place modifications (although the state is returned later on). Perhaps we should change to imperative design, which may be better for this Event-Driven architecture
Current design is implemented as:
Like a calculator. But execution in function seems ambiguous, with in-place modifications (although the state is returned later on). Perhaps we should change to imperative design, which may be better for this Event-Driven architecture