mirror of
https://github.com/lightninglabs/loop
synced 2024-11-16 00:12:52 +00:00
20db07dccf
This commit adds a module for a finite state machine. The goal of the module is to provide a simple, easy to use, and easy to understand finite state machine. The module is designed to be used in future loop subsystems. Additionally a state visualizer is provided to help with understanding the state machine.
2 lines
100 B
Bash
Executable File
2 lines
100 B
Bash
Executable File
#!/usr/bin/env bash
|
|
go run ./fsm/stateparser/stateparser.go --out ./fsm/example_fsm.md --fsm example |