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

with Promise style call: Not supported

Mini Program plugin:: Support

Set a timer. Execute registered callback function after timing expires

# parameter

# function callback

callback

# number delay

The time of the delay after which the call to the function will occur, in units 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 clearTimeout To cancel the timer.