title: Is it possible to resolve async function without return keyword
body: <p>I started to use ES7 feature <code>async/await</code> , which gives the best approach to deal with asynchronous tasks, and makes your code cleaner and readable.</p>
  
  <p>However it doesn't give you an access to Promise, created by async function, so if you do some async request in your async function you should promisify it, then await it and then return the result. I mean this:</p>
  
  <pre><code>async function doStuff() {
      //stuff...
      var value = await new Promise(function(resolve) {
          $.get('http://some/url/...', function(result) {
              // stuff...
              resolve(result);
          });
      });
      return value;
  }
  </code></pre>
  
  <p>What if you could find a pointer to the Promise created by function so your code could look like:</p>
  
  <pre><code>async function doStuff() {
      //stuff...
      var p = arguments.callee.promise;
      $.get('http://some/url/...', function(result) {
          // stuff...
          p.resolve(result);
      });
  }
  </code></pre>
  
  <p>or even:</p>
  
  <pre><code>async function doStuff() {
      //stuff...
      $.get('http://some/url/...', function(result) {
          // stuff...
          async.resolve(result);
      });
  }
  </code></pre>
  
  <p>This way you don't need to directly access Promises API what makes your code totally focused on task without any besides. </p>