Esempio n. 1
0
 public async Task SaveChanges(CancellationToken cancellationToken = default)
 {
     await aggregateEventsPublisher.Publish(cancellationToken);
 }
Esempio n. 2
0
 public Task SaveChanges(CancellationToken cancellationToken = default)
 {
     return(aggregateEventsPublisher.Publish(cancellationToken));
 }
Esempio n. 3
0
        public async Task SaveChanges(CancellationToken cancellationToken = default)
        {
            await documentSession.SaveChangesAsync(cancellationToken);

            await aggregateEventsPublisher.Publish(cancellationToken);
        }