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

6 Commits

Author SHA1 Message Date
drawdrop
b4193dfb28 chore: fix some function names
Signed-off-by: drawdrop <cricis@icloud.com>
2024-08-12 22:59:32 +08:00
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
fd0c78e014
fsm: fixup observer options 2023-12-06 10:11:28 +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