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

namespace StellaOps.Feedser.Storage.Mongo.JpFlags;

public interface IJpFlagStore
{
    Task UpsertAsync(JpFlagRecord record, CancellationToken cancellationToken);

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