# number setTimeout(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 after the fixed expiration

# parameter

# function callback

callback

# number delay

The time after which a function call occurs, 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 clearTimeout to cancel the timing.