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