import time
from dynamic_heartbeat import heartbeat as dhb
interval = dhb.Timer(default=10, min_=1, max_=60)
time.sleep(interval(True)) # True to slow down the heartbeat. 5s -> 10s
time.sleep(interval(False)) # False to speed up the heartbeat. 5s -> 2.5s-
Notifications
You must be signed in to change notification settings - Fork 0
python-dynamic-heartbeat-module
HoBeedzc/python-dynamic-heartbeat-module
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
python-dynamic-heartbeat-module
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published