title: Async method with an async lambda expression
body: <p>I have a lambda expression with an async call inside</p>
  
  <pre><code>public async Task UploadFile(string id)
  {
      Progress&lt;double&gt; progress = new Progress&lt;double&gt;(async x =&gt;
      {
          await Clients.Client(id).SendAsync("FTPUploadProgress", x);
      });
      await client.DownloadFileAsync(localPath, remotePath, true, FluentFTP.FtpVerify.Retry, progress);
  }
  </code></pre>
  
  <p>I want to call the <em>async</em> method when progress is changed.</p>
  
  <p>I'm getting the following warning:</p>
  
  <blockquote>
    <p>This async method lacks 'await' operators and will run synchronously.
    Consider using the 'await' operator to await non-blocking API call</p>
  </blockquote>
  
  <p>How can I make this method asynchronous? </p>
  
  <p>Should I rewrite the lambda with a <code>System.Action&lt;T&gt;</code> class?</p>