The value representing the time to wait.
Optional
timeUnits: TimeUnitsOptional. The units of time for the value. Defaults to "ms" if not provided.
Optional
logDuration: booleanOptional. Specifies whether to log the duration of the wait. Defaults to false if not provided.
A promise that resolves after the specified time has elapsed.
Generated using TypeDoc
Waits for a specified amount of time before resolving a promise.