title: Wait without blocking for event to fire
body: <p><strong>Edit: No, this question has not been answered in the post linked above.</strong></p>
  
  <p>If I have this pseudocode:</p>
  
  <pre><code>// do some stuff first
  wait until ClassName.EventName fires without blocking
  // do the rest of the code
  </code></pre>
  
  <p>Is there a way of doing that in C# with .NET 4.0 ?</p>
  
  <p>Edit:</p>
  
  <p>I have downloaded the Async Targetting Pack and I am trying to do this with that.
  (My project is targetting .NET 4.0.)</p>
  
  <p>I've added code like this now.</p>
  
  <pre><code>private static async void WaitAsyncNoBlock()
  {
      await dynMapServLayer.IsInitialized;                 
  }
  </code></pre>
  
  <p>So that it is called like this.</p>
  
  <pre><code>// do some stuff first
  WaitAsyncNoBlock();
  // do some more stuff
  </code></pre>
  
  <p>But I get the error message, "Cannot await Bool."</p>