module FSM

Overview

The Finite State Machine (FSM) module provides a framework for modeling and implementing finite state machines.

It includes classes for creating and managing state machines, states, transitions, and associated context. States define the different conditions or modes that a system can be in, transitions define how the system moves from one state to another in response to events, and a context is used to carry information across state transitions. See examples directory for an example of how to leverage the FSM in your app

Defined in:

fsm.cr
fsm/context.cr
fsm/errors.cr
fsm/machine.cr
fsm/service.cr
fsm/state.cr
fsm/transition.cr
fsm/version.cr

Constant Summary

VERSION = "0.1.0"