Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Invokes a callback function after a set number of milliseconds has passed.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
![]() |
Syntax
DiagnosticsGlobalScope.setTimeout(callback, delay);
Parameters
callback [in]
Type: FunctionFunction to call back when delay is reached.
delay [in]
Type: numberNumber of milliseconds to delay.
Return value
This method does not return a value.