whole_func_string: function addChildren(newData) {
      var promises = [];
      newData.forEach(function (child) {
        promises.push(add(child));
      });
  
      return Promise.all(promises).then(emitValue);
    }
func_code_string: function addChildren(newData) {
      var promises = [];
      newData.forEach(function (child) {
        promises.push(add(child));
      });
  
      return Promise.all(promises).then(emitValue);
    }
func_documentation_string: add children to data buffer, and emit value
  
  @return {Promise}