示例#1
0
 public override async Task ExecuteAsync(WorkerContext context)
 {
     try
     {
         await _benchmarker.MagicOnionLongRunHub(_waitMilliseconds, _hostAddress, _reportId);
     }
     catch (Exception ex)
     {
         Console.WriteLine($"Exception on ExecuteAsync. {ex.Message} {ex.StackTrace}");
         throw;
     }
 }