lib/inq.js
/**
 * Creates an awaitable task that will be finished with empty result after the given delay.
 *
 * @param delay {number} The delay in milliseconds.
 * @returns {Function}
 */
Creates an awaitable task that will be finished with empty result after the given delay.
@param delay {number} The delay in milliseconds.
@returns {Function}
Creates an awaitable task that will be finished with empty result after the given delay . @param delay { number } The delay in milliseconds . @returns { Function }
function wait(delay) {
    return function (callback) {
        setTimeout(callback, delay)
    }
}
function wait ( delay ) { return function ( callback ) { setTimeout ( callback , delay ) } }
Creates an awaitable task that will be finished with empty result after the given delay.
Creates an awaitable task that will be finished with empty result after the given delay .