diff options
-rw-r--r-- | lib/concat.js | 1 | ||||
-rw-r--r-- | lib/concatLimit.js | 1 | ||||
-rw-r--r-- | lib/concatSeries.js | 1 | ||||
-rw-r--r-- | support/aliases.txt | 3 |
4 files changed, 6 insertions, 0 deletions
diff --git a/lib/concat.js b/lib/concat.js index 394e3c2..c6dc11c 100644 --- a/lib/concat.js +++ b/lib/concat.js @@ -12,6 +12,7 @@ import awaitify from './internal/awaitify' * @memberOf module:Collections * @method * @category Collection + * @alias flatMap * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, * which should use an array as its result. Invoked with (item, callback). diff --git a/lib/concatLimit.js b/lib/concatLimit.js index bb74b35..e8f5b86 100644 --- a/lib/concatLimit.js +++ b/lib/concatLimit.js @@ -11,6 +11,7 @@ import awaitify from './internal/awaitify' * @method * @see [async.concat]{@link module:Collections.concat} * @category Collection + * @alias flatMapLimit * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. * @param {number} limit - The maximum number of async operations at a time. * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, diff --git a/lib/concatSeries.js b/lib/concatSeries.js index 0b36803..68a8018 100644 --- a/lib/concatSeries.js +++ b/lib/concatSeries.js @@ -10,6 +10,7 @@ import awaitify from './internal/awaitify' * @method * @see [async.concat]{@link module:Collections.concat} * @category Collection + * @alias flatMapSeries * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`. * The iteratee should complete with an array an array of results. diff --git a/support/aliases.txt b/support/aliases.txt index 1cbdeb7..6758a0d 100644 --- a/support/aliases.txt +++ b/support/aliases.txt @@ -7,6 +7,9 @@ anySeries someSeries find detect findLimit detectLimit findSeries detectSeries +flatMap concat +flatMapLimit concatLimit +flatMapSeries concatSeries forEach each forEachSeries eachSeries forEachLimit eachLimit |