/// <summary>
 /// Stops the message pump
 /// </summary>
 public void Stop()
 {
     _client.Close();
     _cache.WaitForAllTasksToComplete();
 }
Beispiel #2
0
 /// <summary>
 /// Blocks untill all the tasks currently cached to complete. This will take 5+ seconds
 /// </summary>
 public void WaitForCompletion()
 {
     _cache.WaitForAllTasksToComplete();
 }