(require("wait"))(delay) → {Promise} # Sugar around window.setTimeout. Example import wait from './wait'; wait( 150 ) .then( () => { // Continue processing... } ); Parameters: Name Type Description delay number The number of milliseconds to wait Source: wait.js, line 19 Returns: Type Promise