title: Is it possible to await async tasks during a button click?
body: <p>I have a refresh button in my app that uses some async methods to update the list of items displayed.  The problem is that I can't have a return type of Task for the event handler for the button click so I'm left with an async void method.  Thus, the user can hit the refresh button, then select an item while the list is being repopulated which will result in an error.</p>
  
  <p>start of code that handles button click:</p>
  
  <pre><code>    private async void Button_Click_1(object sender, RoutedEventArgs e)
      {
  
  
          await ViewModel.CreateMessageCommand();
  </code></pre>
  
  <p>So is there anyway to properly await for this task to finish?</p>