using System.Threading;
using System.Threading.Tasks;

namespace StellaOps.Feedser.Storage.Mongo.PsirtFlags;

public interface IPsirtFlagStore
{
    Task UpsertAsync(PsirtFlagRecord record, CancellationToken cancellationToken);

    Task<PsirtFlagRecord?> FindAsync(string advisoryKey, CancellationToken cancellationToken);
}
