summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2017-03-16 17:33:22 -0400
committerGitHub <noreply@github.com>2017-03-16 17:33:22 -0400
commit295b307c21028c8069ced8fe01a3d68700e15e0b (patch)
treeb944dd5e5820cb57510f6f44247311cddb683bde
parent3d7974562bc1da172b9cc60f7759079ab522ea9a (diff)
parentb9991cc4d7b25c8d87d050e1b58ef4d196f9482b (diff)
downloadasync-295b307c21028c8069ced8fe01a3d68700e15e0b.tar.gz
Merge pull request #1385 from PierreFritsch/parallel-hint-reflect
Add a hint to `reflect` in the documentation of `parallel`
-rw-r--r--lib/parallel.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/parallel.js b/lib/parallel.js
index 506f475..19d5558 100644
--- a/lib/parallel.js
+++ b/lib/parallel.js
@@ -13,6 +13,8 @@ import parallel from './internal/parallel';
* any I/O, they will actually be executed in series. Any synchronous setup
* sections for each task will happen one after the other. JavaScript remains
* single-threaded.
+ * **Hint:** Use [`reflect`]{@link module:Utils.reflect} to continue the
+ * execution of other tasks when a task fails.
*
* It is also possible to use an object instead of an array. Each property will
* be run as a function and the results will be passed to the final `callback`