public static class AsyncStreamReaderExtensionsExtension 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 : classAdvances the stream reader to the next element in the sequence, returning the result asynchronously.
| Parameter | |
|---|---|
| Name | Description |
streamReader |
IAsyncStreamReaderThe stream reader. |
| Returns | |
|---|---|
| Type | Description |
Taskbool |
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. |