2025-03-15 16:54:20 +03:30

11 lines
290 B
C#

using BuildingBlocks.EventStoreDB.Events;
using MediatR;
namespace BuildingBlocks.EventStoreDB.Projections;
public interface IProjectionProcessor
{
Task ProcessEventAsync<T>(StreamEvent<T> streamEvent, CancellationToken cancellationToken = default)
where T : INotification;
}