Code/SboxSuperuser/Engine/Audit/IAuditRetention.cs

Interface for audit retention in the engine. Declares a single async method PruneAuditAsync that accepts an expected revision and cancellation token and returns a StoragePruneResult task.

using SboxSuperuser.Core.Storage;

namespace SboxSuperuser.Engine.Audit;

internal interface IAuditRetention
{
	Task<StoragePruneResult> PruneAuditAsync( long expectedRevision, CancellationToken cancellation );
}