// Truncate the most recent information void TruncateTail( ILogicalLog logicalLog, long streamOffset) { Task t = logicalLog.TruncateTail(streamOffset, CancellationToken.None); t.Wait(); }
/// <summary> /// Truncate the most recent information /// </summary> async void TruncateTail( ILogicalLog logicalLog, long streamOffset) { await logicalLog.TruncateTail(streamOffset, CancellationToken.None); }