docs: function (value) {
                              results[index] = value;
                              fulfilled += 1;
                              if (fulfilled === length) {
  
                                  if (hasError) {
                                      deferred.emitError(results);
                                  } else {
                                      deferred.emitSuccess(results);
                                  }
                              }
                          }