Emits H4PE_HEARTBEAT
event once per second. This is synchronous, called on the main loop and not an exact asynchronous "hard-realtime" second. It is sent when the number of millis()
is exactly divisible by 1000. Unless your app loads up the queue with badly-designed long-running tasks, it is reasonably accurate.
For information on how to use this plugin, see 💎Everything is an event: Listeners, Emitters and Handlers
H4P_EmitTick ticktock();
This plugin is a "singleton" - there may be only one single instance of it in the app. It may be instantiated as any name the user chooses, prefix all API calls below with than name.
N/A
N/A
stop
/ start
have no effect
N/A
H4P_EmitTick();
(c) 2021 Phil Bowles [email protected]