@operational-transformation/state-machine
State Machine implementation to Synchronise changes among multiple clients.
Usage
import { ITransitionHandler, StateMachine } from "@operational-transformation/state-machine";
const handler: ITransitionHandler = ...;
const stateMachine = new StateMachine(handler);
Note: API Guidelines will be provided with the package.