This commit is contained in:
Bruno Windels 2019-10-09 17:51:50 +02:00
parent 3e971e4880
commit 2d848bba29
25 changed files with 84 additions and 100 deletions

View file

@ -20,8 +20,8 @@ module.exports.range = function(start, amount, step = 1) {
r.push(start + (i * step));
}
return r;
}
};
module.exports.delay = function(ms) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
};