@Override
protected void doRun(final Object argument) {
values.add(argument);
whenAllBound(promises, index + 1, values, result, code, errorHandler);
}
}, new MessagingRunnable() {
@Override
protected void doRun(final Object argument) {
if (errorHandler != null && shallHandle(errorHandler, (Throwable) argument)) {
try {
result.leftShift(errorHandler.getMaximumNumberOfParameters() == 1 ? errorHandler.call(argument) : errorHandler.call());