smlx / fsm

Simple Finite State Machine

Repository from Github https://github.comsmlx/fsmRepository from Github https://github.comsmlx/fsm

Finite State Machine

Tag and Release Coverage Status Go Reference

The fsm module implements a minimal finite state machine.

I used this logic in multiple projects, so I decided I may as well publish it. Honestly, this module is so simple you might be better off just copying the logic instead of importing it.

A little copying is better than a little dependency.

Usage

See the Go reference link above.

About

Simple Finite State Machine

License:Apache License 2.0


Languages

Language:Go 94.9%Language:JavaScript 5.1%