RaftEx.Domain.Machine.Simple (raft_ex v0.6.0)

View Source

A minimal RaftEx.Domain.Machine implementation backed by a user function.

The function receives each command and the current state, and returns the updated state together with the reply.