Interface for audit log retention. Declares a single async method PruneAuditAsync that returns a StoragePruneResult and accepts an expected revision and CancellationToken.
using SboxSuperuser.Core.Storage;
namespace SboxSuperuser.Engine.Audit;
internal interface IAuditRetention
{
Task<StoragePruneResult> PruneAuditAsync( long expectedRevision, CancellationToken cancellation );
}