The ReadStreamResult.MoveNextAsync() and ReadStreamResult.Current methods disppeared after update gRPC client to v22. What methods can now use?

We are using the method ReadStreamResult.MoveNextAsync() and the property ReadStreamResult.Current.
Those members disappeared from the ReadStreamResult class in the update 22.0.0.

What approach we should use as an replacement?
There is no word about this breaking change in the Chanelog.

Filip Nowak

You can call result.GetAsyncEnumerator() to get the IAsyncEnuemerator<T> API. Don’t forget to Dispose it, otherwise you may experience a resource leak on the server.

Alternatively, there is a property called Messages on the result. You can see an example of how to use that here: