UNPKG
waait
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A little function to wait
github.com/wesbos/waait
wesbos/waait
waait
/
index.d.ts
6 lines
(5 loc)
•
193 B
TypeScript
View Raw
1
2
3
4
5
6
/** *
@param
amount The amount of time to wait in milliseconds. *
@return
A promise that gets resolved after a given amount. */
export
default
function
wait
(
amount?: number
):
Promise
<
void
>;