示例#1
0
 private void ReportForeignEventInner(Action <TimeInterval, bool> recordMethod, Action handlerMethod, bool timeDomainInternalEvent)
 {
     LocalTimeSource.ExecuteInNearestSyncedState(ts =>
     {
         recordMethod?.Invoke(ts.TimeElapsed, timeDomainInternalEvent);
         handlerMethod();
     }, true);
 }