"use strict";12Object.defineProperty(exports, "__esModule", {3value: true4});56exports.default = function (...args) {7return function (...ignoredArgs /*, callback*/) {8var callback = ignoredArgs.pop();9return callback(null, ...args);10};11};1213module.exports = exports["default"]; /**14* Returns a function that when called, calls-back with the values provided.15* Useful as the first function in a [`waterfall`]{@link module:ControlFlow.waterfall}, or for plugging values in to16* [`auto`]{@link module:ControlFlow.auto}.17*18* @name constant19* @static20* @memberOf module:Utils21* @method22* @category Util23* @param {...*} arguments... - Any number of arguments to automatically invoke24* callback with.25* @returns {AsyncFunction} Returns a function that when invoked, automatically26* invokes the callback with the previous given arguments.27* @example28*29* async.waterfall([30* async.constant(42),31* function (value, next) {32* // value === 4233* },34* //...35* ], callback);36*37* async.waterfall([38* async.constant(filename, "utf8"),39* fs.readFile,40* function (fileData, next) {41* //...42* }43* //...44* ], callback);45*46* async.auto({47* hostname: async.constant("https://server.net/"),48* port: findFreePort,49* launchServer: ["hostname", "port", function (options, cb) {50* startServer(options, cb);51* }],52* //...53* }, callback);54*/5556