@util.js/promises 0.41.7 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Promises.js +2 -2
- package/package.json +1 -1
package/dist/Promises.js
CHANGED
|
@@ -41,7 +41,7 @@ var Promises = /*#__PURE__*/function () {
|
|
|
41
41
|
* });
|
|
42
42
|
* // expected output: Array [3, 42, "foo"]
|
|
43
43
|
*
|
|
44
|
-
* @param {iterable|...*} iterable An iterable object such as an Array or String; if you give
|
|
44
|
+
* @param {iterable|...*} iterable An iterable object such as an Array or String; if you give more than one argument to this method, [arguments]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments} becomes the iterable
|
|
45
45
|
* @return {Promise} (A) An already resolved Promise if the iterable passed is empty.
|
|
46
46
|
* (B) An asynchronously resolved Promise if the iterable passed contains no promises.
|
|
47
47
|
* (C) A pending Promise in all other cases; this returned promise is then resolved/rejected asynchronously (as soon as the stack is empty) when all the promises in the given iterable have resolved, or if any of the promises reject; returned values will be in order of the Promises passed, regardless of completion order.
|
|
@@ -376,7 +376,7 @@ var Promises = /*#__PURE__*/function () {
|
|
|
376
376
|
* });
|
|
377
377
|
* // expected output: "two"
|
|
378
378
|
*
|
|
379
|
-
* @param {iterable|...*} iterable An iterable object such as an Array or String; if you give
|
|
379
|
+
* @param {iterable|...*} iterable An iterable object such as an Array or String; if you give more than one argument to this method, [arguments]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments} becomes the iterable
|
|
380
380
|
* @return {Promise} A pending Promise that resolves or rejects asynchronically (as soon as the stack is empty) as soon as one of the promises in the given iterable resolves or rejects, adopting that first promise's value as its value
|
|
381
381
|
* @public
|
|
382
382
|
* @instance
|
package/package.json
CHANGED