/// <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); }