Module

x/jssm/es6/jssm_types.d.ts>JssmGenericMachine

Fast, easy Javascript finite state machines with visualizations; enjoy a one liner FSM instead of pages. MIT; Typescripted; 100% test coverage. Implements the FSL language.
Go to Latest
type alias JssmGenericMachine
import { type JssmGenericMachine } from "https://dotland.deno.dev/x/jssm@5.71.1/es6/jssm_types.d.ts";
definition: { name?: string; state: StateType; data?: DataType; nodes?: Array<StateType>; transitions: JssmTransitions<DataType>; check?: JssmStatePermitterMaybeArray<DataType>; min_transitions?: number; max_transitions?: number; allow_empty?: boolean; allow_islands?: boolean; allow_force?: boolean; keep_history?: boolean | number; }