waitForMilliseconds

waitForMilliseconds

waitForMilliseconds(millisecondsnumber, value?any): Promise<unknown>

Return a promise to resolve a value after waiting a certain number of milliseconds.

Parameters
ParameterTypeDefault
milliseconds
number
0
value
any
Returns 
Promise<unknown>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.