protected override async Task Handle(GroupCommand request, CancellationToken cancellationToken) { await eventCollector.EnqueueAsync(new GroupIntegrationEvent()); await eventDispatcher.PublishAsync(); }
protected async override Task Handle(SingleCommand request, CancellationToken cancellationToken) { await eventCollector.EnqueueAsync(new SingleIntegrationEvent()); await eventDispatcher.PublishAsync(); }