2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Andras Banki-Horvath
811e9dff99
fsm: add WaitForStateAsync to the cached observer
By adding WaitForStateAsync to the observer we can always observe state
changes in an atomic way without relying on the observer's internal
cache.
2024-05-08 15:06:39 +02:00
sputn1ck
1a31bbf75d
fsm: add early abort observer option 2024-02-12 12:28:55 +01:00
sputn1ck
9b178dd979
fsm: add reservation fsm compiling 2024-01-17 15:59:09 +01:00
sputn1ck
5b6f847ece
fsm: expand fsm
This commit adds:
- a default observer to the FSM
- more info to the action entry and exit funcs
- an optional initial wait time for the WaitForState function
2023-12-01 11:51:34 +01:00
sputn1ck
20db07dccf
fsm: add fsm module
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.
2023-09-07 17:41:15 +02:00