# number setInterval(function callback, number delay, any rest)

with Promise style call: Not supported

Mini Program plugin:: Support

Set a timer. Executes registered callbacks for a specified period (in milliseconds)

# parameter

# function callback

callback

# number delay

Time interval between execution of callback functions, unit ms。

# any rest

param1, param2, ..., paramN They are passed as arguments to the callback function.

# Return value

# number

The number of the timer. This value can be passed to clearInterval To cancel the timer.