Skip to content

Commit

Permalink
Add a hint to reflect in the documentation of parallel
Browse files Browse the repository at this point in the history
How to continue *parallel* processing in case of a failing task seems to be a frequently asked question. It was mentioned in several issues:

- #334
- #675
- #798
- #942

Adding a hint to the documentation might help users of the library to find out about the answer to this question.
  • Loading branch information
PierreFritsch committed Mar 16, 2017
1 parent 3d79745 commit b9991cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/parallel.js
Expand Up @@ -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`
Expand Down

0 comments on commit b9991cc

Please sign in to comment.