statewave
Version:
Another Finite State Machine
34 lines (26 loc) • 660 B
text/typescript
// export type Operation = {
// type: OperationType;
// };
// export type OperationType =
// | "state"
// | "transition"
// | "immediate"
// | "invoke"
// | "guard"
// | "event"
// | "action";
// export { Action, ActionFunction } from "./action";
// export { ContextFunction } from "./context";
// export { Event } from "./event";
// export { Guard, GuardFunction } from "./guard";
export type {
Immediate,
State,
Transition,
MachineConfig,
MachineState,
} from "./types";
export { immediate } from "./immediate";
export { machine } from "./machine";
export { state } from "./state";
export { transition } from "./transition";