Module heartbeat

Module heartbeat 

Source

Structs§

HeartbeatData
Payload carried by heartbeats: last progress and small event map.
ProgressReceiver
Receiver side of the progress channel.
ProgressSender
Sender side of the progress channel.
ShutdownRx
ShutdownTx
Shutdown signal for the heartbeat loop.

Functions§

progress_channel
Create a new progress channel. Only the latest value is relevant (watch).
run_scheduler
Debounced heartbeat scheduler.
shutdown_channel
Create a shutdown channel (false by default). Set to true to stop the loop.