# number setInterval(function callback, number delay, any rest)
__Call__in [Promise style: Not supported
Weixin Mini Program Plug-in: Support
Set a timer. Execute the registered callback function according to the specified cycle (in milliseconds)
# parameter
# function callback
callback
# number delay
The time interval between the execution of a callback function, in ms.
# any rest
param1, param2, ..., paramN Parameter passing them as parameters to the callback function.
# Return value
# number
The serial number of the timer.This value can be passed to clearInterval to cancel the timing.