mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-12 03:12:11 +08:00
13 lines
381 B
C#
13 lines
381 B
C#
using BuildingBlocks.EventStoreDB.Events;
|
|
using MediatR;
|
|
|
|
namespace BuildingBlocks.EventStoreDB.Projections;
|
|
|
|
public interface IProjectionPublisher
|
|
{
|
|
Task PublishAsync<T>(StreamEvent<T> streamEvent, CancellationToken cancellationToken = default)
|
|
where T : INotification;
|
|
|
|
Task PublishAsync(StreamEvent streamEvent, CancellationToken cancellationToken = default);
|
|
}
|