5 lines
98 B
JavaScript
5 lines
98 B
JavaScript
/* global setTimeout */
|
|
|
|
exports.sleep = ms =>
|
|
new Promise(resolve => setTimeout(resolve, ms));
|