Webpack build for branch 11.3-dev: 488b1eb4ee

This commit is contained in:
Travis CI 2018-07-25 16:11:33 +00:00
parent edb3d00d37
commit 7b510e579b
2 changed files with 13 additions and 1 deletions

View file

@ -1691,6 +1691,18 @@ class Util {
}
return array.indexOf(element);
}
/**
* 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