dherman/taskjs — Issue #7: fail-soft alternative to join
Author: dherman
Created: 2011-12-17 20:14:47+00:00
State: open

The `Task.prototype.join` primitive is fail-fast with exceptions: if any task throws, all the tasks are killed and the exception propagates. Implement an alternative combinator that is fail-soft: if a task throws, simply detach it and continue waiting for a return value from another task. If all tasks throw, the result should throw a "no answer" error, possibly packaged up with all the exceptions that were caught.