A utility class that repeatedly executes the given task at a specified period.
The initial delay before the first execution of the task.
The time interval between consecutive executions of the task.
The coroutine context in which the heartbeat will run.
The function to be executed periodically.
Starts the execution of this heartbeat.
Stops the execution of this heartbeat.