Пример #1
0
 public async ValueTask Append <TEvent>(Guid streamId, TEvent @event, int?version, CancellationToken cancellationToken = default) where TEvent : IEvent
 {
     await _eventStoreProvider.Append(streamId, @event, null, cancellationToken).ConfigureAwait(false);
 }