using System.Threading;
using System.Threading.Tasks;
using StellaOps.Signals.Models;
namespace StellaOps.Signals.Persistence;
///
/// Persists normalized callgraphs.
///
public interface ICallgraphRepository
{
Task UpsertAsync(CallgraphDocument document, CancellationToken cancellationToken);
Task GetByIdAsync(string id, CancellationToken cancellationToken);
}