whole_func_string: function noMoreTemplates() {
          registryComplete = true;
          // Reject all unresolved promises
          Object.keys(registry).forEach(function(templateName) {
              registry[templateName].reject(noSuchTemplate(templateName));
          });
          theOnlyTemplate.reject(noSuchTemplate('<default>'));
      }
func_code_string: function noMoreTemplates() {
          registryComplete = true;
          // Reject all unresolved promises
          Object.keys(registry).forEach(function(templateName) {
              registry[templateName].reject(noSuchTemplate(templateName));
          });
          theOnlyTemplate.reject(noSuchTemplate('<default>'));
      }
func_documentation_string: Indicate that there will be no more incoming templates