Is this a good way to implement the election watchdog timer?
I tried to look for the asyncio timer functionality you showed me before, but somehow wasn't able to find it?
Most of the examples I've come across seem to use asyncio.sleep in some capacity.
To run the example/unit test: pytest -k _unittest_election_watchdog
Is this a good way to implement the election watchdog timer?
I tried to look for the asyncio timer functionality you showed me before, but somehow wasn't able to find it? Most of the examples I've come across seem to use
asyncio.sleep
in some capacity.To run the example/unit test:
pytest -k _unittest_election_watchdog