public static class AsyncStreamReaderExtensions : object
Extension methods for IAsyncStreamReader<T>.
Namespace
Grpc.CoreAssembly
Grpc.Core.Api.dll
Methods
MoveNext<T>(IAsyncStreamReader<T>)
public static Task<bool> MoveNext<T>(this IAsyncStreamReader<T> streamReader)
where T : class
Advances the stream reader to the next element in the sequence, returning the result asynchronously.
Parameter | |
---|---|
Name | Description |
streamReader |
IAsyncStreamReader<T> The stream reader. |
Returns | |
---|---|
Type | Description |
Task<Boolean> |
Task containing the result of the operation: true if the reader was successfully advanced to the next element; false if the reader has passed the end of the sequence. |
Type Parameter | |
---|---|
Name | Description |
T |
The message type. |