/**
* @author Wolfgang Kowarschick <kowa@hs-augsburg.de>
* @copyright 2017 - 2018
* @license CC-BY-NC-SA-4.0
*/
/**
* @module wk/util/wait
*/
/**
* @function
* @static
*
* @param {number} p_time
* The time in ms before the <code>then</code> branch of
* the promise is executed.
* @returns {Promise<any>}
*/
const wait = p_time => new Promise(p_resolve => setTimeout(p_resolve, p_time));
export {wait};
export default wait;