Methods
wait(timeInMs, doAfterwards) → {void}
- Source:
Wait for a defined amount of time (and optionally) do something afterwards.
Parameters:
Name | Type | Description |
---|---|---|
timeInMs |
int | the time to wait |
doAfterwards |
function | a function to execute afterwards |
Returns:
- Type
- void