API overview
The public exports of @dunky.dev/state-machine.
machine(): define a machine.setup: typed machine factory (setup.infer()/setup.as<Ctx, Ev>()).connector(): turn state into bindings.compose(): combine machines.createStore(): the store primitive.makeReaction(): react to state changes.- Guards:
and,or,not. - Actions:
act,oneOf.