public static async Task TearDownAkkaAsync()
 {
     try
     {
         await ConsumerSystem.Terminate();
     }
     catch
     {
         // no-op
     }
 }
示例#2
0
 private async Task TeardownActorSystemsAsync()
 {
     /*
      * await Task.WhenAll(
      *  ProducerSystem.Terminate(),
      *  ConsumerSystem.Terminate());
      */
     try
     {
         await ConsumerSystem.Terminate();
     } catch {}
 }