run
Executes the task repeatedly according to the delay and period.
Return
a TaskHandle that can be used to cancel the task
Parameters
task
the block of code to execute
Executes the task repeatedly according to the delay and period.
a TaskHandle that can be used to cancel the task
the block of code to execute