Exemplo n.º 1
0
        /// <inheritdoc />
        protected override async Task <int> AppendToStreamStore(IStream stream, IList <EventData> streamMessages)
        {
            var result = await _connection.AppendToStreamAsync(stream.Key, stream.AppendPosition(), streamMessages);

            return((int)result.NextExpectedVersion);
        }