Webpack build for branch shard-overhaul: 26b28813a8

This commit is contained in:
Travis CI 2017-11-19 18:50:44 +00:00
parent 83922fbbb8
commit 0214dfb1ae
2 changed files with 13 additions and 1 deletions

View file

@ -1644,6 +1644,18 @@ class Util {
return dec;
}
/**
* Creates a Promise that resolves after a specified duration.
* @param {number} ms How long to wait before resolving (in milliseconds)
* @returns {Promise<void>}
* @private
*/
static delayFor(ms) {
return new Promise(resolve => {
setTimeout(resolve, ms);
});
}
}
module.exports = Util;

File diff suppressed because one or more lines are too long