Timer Service
The timer service emits periodic signals with intervals in real time.
-
halmd.utility.timer_service.on_periodic(slot, interval)
Connect function to call periodically at given interval.
Parameters: |
- slot – nullary function
- interval (number) – frequency of calls to function in seconds
|
Returns: | connection
|
-
halmd.utility.timer_service.on_periodic(slot, interval, start)
Connect function to call periodically at given interval.
Parameters: |
- slot – nullary function
- interval (number) – frequency of calls to function in seconds
- start (number) – time of first call in seconds
|
Returns: | connection
|
-
halmd.utility.timer_service.process()
Process timer event queue.