X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=state_tracker.py;h=1cf62af6ea8000e5d1ed32646ec0a212a0b55faf;hb=1ff5dde5b037f8da4c9d5a65e2d7ad2f6715ff60;hp=b375f8928dc09c6f359d6e99846d06f1db947c5e;hpb=e8fbbb7306430478dec55d2c963eed116d8330cc;p=python_utils.git diff --git a/state_tracker.py b/state_tracker.py index b375f89..1cf62af 100644 --- a/state_tracker.py +++ b/state_tracker.py @@ -109,7 +109,7 @@ class AutomaticStateTracker(StateTracker): """ @background_thread - def pace_maker(self, should_terminate) -> None: + def pace_maker(self, should_terminate: threading.Event) -> None: """Entry point for a background thread to own calling heartbeat() at regular intervals so that the main thread doesn't need to do so.