FSM Pattern (@xndrjs/fsm)
Finite State Machine (FSM) implementation for managing complex state transitions.
Installation
npm install @xndrjs/fsm
Overview
The @xndrjs/fsm package provides FSMContextManager for building finite state machines with StatePort integration.
Key Concepts
- States - Define possible states with configuration
- Transitions - Define valid state transitions
- Context - Reactive state management using StatePort
Next Steps
- Learn about Usage