You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace Ds.Module.MediatR
|
|
|
|
|
{
|
|
|
|
|
public interface ILocalEventBus
|
|
|
|
|
{
|
|
|
|
|
Task Publish(IDomainEvent domainEvent, CancellationToken cancellationToken = default);
|
|
|
|
|
|
|
|
|
|
Task Publish<T>(T domainEvent, CancellationToken cancellationToken = default)
|
|
|
|
|
where T : IDomainEvent;
|
|
|
|
|
}
|
|
|
|
|
}
|