docs: function(predicate, asyncFunction) {
        if (predicate()) {
          return asyncFunction().then(function() {
            return Parse.Promise._continueWhile(predicate, asyncFunction);
          });
        }
        return Parse.Promise.as();
      }