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