Version 1
[yaffs-website] / node_modules / grunt-uncss / node_modules / async / concatSeries.js
diff --git a/node_modules/grunt-uncss/node_modules/async/concatSeries.js b/node_modules/grunt-uncss/node_modules/async/concatSeries.js
new file mode 100644 (file)
index 0000000..9daf0a0
--- /dev/null
@@ -0,0 +1,37 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+
+var _concat = require('./internal/concat');
+
+var _concat2 = _interopRequireDefault(_concat);
+
+var _doSeries = require('./internal/doSeries');
+
+var _doSeries2 = _interopRequireDefault(_doSeries);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+/**
+ * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time.
+ *
+ * @name concatSeries
+ * @static
+ * @memberOf module:Collections
+ * @method
+ * @see [async.concat]{@link module:Collections.concat}
+ * @category Collection
+ * @param {Array|Iterable|Object} coll - A collection to iterate over.
+ * @param {Function} iteratee - A function to apply to each item in `coll`.
+ * The iteratee is passed a `callback(err, results)` which must be called once
+ * it has completed with an error (which can be `null`) and an array of results.
+ * Invoked with (item, callback).
+ * @param {Function} [callback(err)] - A callback which is called after all the
+ * `iteratee` functions have finished, or an error occurs. Results is an array
+ * containing the concatenated results of the `iteratee` function. Invoked with
+ * (err, results).
+ */
+exports.default = (0, _doSeries2.default)(_concat2.default);
+module.exports = exports['default'];
\ No newline at end of file