title: Use Async in Lambda
body: <p>I'm trying to setup up sequential asynchronous calls in my lambda function. I'm using the standard async library for this and haven't had a successful run of all the console prints. </p>
  
  <pre><code>// async import
  var async = require('async');
  
  exports.handler = (event, context, callback) =&gt; {
  
      async.waterfall([
          function func1(){
              console.log('1');
          },
          function func2(){
              console.log('2');
          },
          function func3(){
              console.log('3');
          },
      ], function (error, success) {
          if (error) { console.log('Something is wrong!'); }
          callback(null, 'success');
      });
  };
  </code></pre>
  
  <p>All I see is :</p>
  
  <pre><code>START RequestId: b9dc249e-53ce-11e7-923a-95d7e896a384 Version: $LATEST
  2017-06-18T02:35:00.915Z    b9dc249e-53ce-11e7-923a-95d7e896a384    1
  END RequestId: b9dc249e-53ce-11e7-923a-95d7e896a384
  REPORT RequestId: b9dc249e-53ce-11e7-923a-95d7e896a384  Duration: 2.
  </code></pre>
  
  <p>Any help is really appreciated!</p>