Beispiel #1
0
 public Task Stop()
 {
     return(SyncHelper.ExecuteSafelyAsync(_syncObj, () => IsStarted, () =>
     {
         _spanProcessorTask.Stop();
         IsStarted = false;
         return LogSubmittedSpans();
     }));
 }