whole_func_string: function routePromise(req, res) {
    return new Promise((resolve) => {
      res.send({ ok: true });
      resolve();
    });
  }
func_code_string: function routePromise(req, res) {
    return new Promise((resolve) => {
      res.send({ ok: true });
      resolve();
    });
  }
func_documentation_string: returns a promise