title: How do i wrap a callback with async await?
body: <p>My function returns a promise that resolves as soon as the http server starts. This is my code:</p>
  <pre><code>function start() {
      return new Promise((resolve, reject) {
          this.server = Http.createServer(app);
          this.server.listen(port, () =&gt; {
              resolve();
          });
      })
  }
  </code></pre>
  <p>How do I convert the start function to async/await?</p>