Search results

2 packages found

It waits for the number of milliseconds of the argument you put into the function before executing it. This function must use async await. Execution is paused through the awiat keyword, and execution resumes when the promise is processed.

published 1.0.2 2 years ago
M
Q
P

add native Promise.prototype.sleep

published 1.0.1 5 years ago
M
Q
P