2 Commits

Author SHA1 Message Date
a8155f5941
Add assertions to statemonitor.register 2023-06-26 02:13:12 -04:00
6b985f6574
statemonitor: to register callbacks to state
It takes two functions; one is to check the state and the other is a
callback to execute if the first function evaluates true. It can
automatically handling deregistering functions once they are no longer
needed
2023-06-26 01:33:56 -04:00