// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ========================================================================== namespace Squidex.Infrastructure.Commands; public interface IDomainObjectCache { Task GetAsync(DomainId id, long version, CancellationToken ct = default); Task SetAsync(DomainId id, long version, T snapshot, CancellationToken ct = default); }