Creates a raft node and ClusterProtocol given the raft config and 'applyToStateMachine' function.
Creates a raft node and ClusterProtocol given the raft config and 'applyToStateMachine' function.
The applyToStateMachine is the function used to apply committed log entries of 'T' to whatever your use-case is.
the configuration, duh!
a function to apply committed log entries to the state machine
the raft node for this system and a cluster protocol (the transport to use to access the rest of the cluster)
Exposes functions for initialising raft systems from a configuration