summaryrefslogtreecommitdiff
path: root/state_tracker.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-03-25 09:41:31 -0700
committerScott Gasch <[email protected]>2022-03-25 09:41:31 -0700
commit532df2c5b57c7517dfb3dddd8c1358fbadf8baf3 (patch)
tree9ce9a092ca3efb7282b0ac0449da4c9f30f79efc /state_tracker.py
parentc6fca944b41f292b66efaba27ebf3fd0a37956b8 (diff)
Since this thing is on the innerwebs I suppose it should have a
copyright...
Diffstat (limited to 'state_tracker.py')
-rw-r--r--state_tracker.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/state_tracker.py b/state_tracker.py
index 1cf62af..62eb183 100644
--- a/state_tracker.py
+++ b/state_tracker.py
@@ -1,9 +1,13 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
"""Several helpers to keep track of internal state via periodic
polling. StateTracker expects to be invoked periodically to maintain
state whereas the others automatically update themselves and,
-optionally, expose an event for client code to wait on state changes."""
+optionally, expose an event for client code to wait on state changes.
+
+"""
import datetime
import logging