title: MvvmLight, Messenger, and Async method calls
body: <p>I am using MvvmLight and have implemented communication between some of my ViewModels using the MessengerInstance.Send(...) method. It works great!</p>
  
  <p>Recently, though, I have moved from using Synchronous methods to async methods to retrieve data and it looks like this breaks messaging (probably because it executes on a different thread). For example:</p>
  
  <pre><code>public ICommand SomeCommand { get { return new RelayCommand(DoSomething); } }
  
  private async void DoSomething(object obj)
  {
      //Used to be SomeWcfService.DoSomething(); with some logic afterward
      await SomeWcfService.DoSomethingAsync().ContinueWith(task =&gt; { //Some logic after method completes });
  
      MessengerInstance.Send(SomeDataToSend, MessageIdentifer.DoSomething);
  }
  </code></pre>