Add `sleep` module

pull/1/head
Daniel Gasienica 7 years ago
parent 08f73b8420
commit 21147a20a0

@ -0,0 +1,4 @@
/* global setTimeout */
exports.sleep = ms =>
new Promise(resolve => setTimeout(resolve, ms));
Loading…
Cancel
Save