var _ = require("./_");

module.exports = function (time, val) {
    return new _.Promise(function (r) {
        return setTimeout((function () {
            return r(val);
        }), time);
    });
};
