AsyncStreamExtensions Class |
Namespace: Grpc.Core.Utils
The AsyncStreamExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ForEachAsyncT |
Reads the entire stream and executes an async action for each element.
|
![]() ![]() | ToListAsyncT |
Reads the entire stream and creates a list containing all the elements read.
|
![]() ![]() | WriteAllAsyncT(IServerStreamWriterT, IEnumerableT) |
Writes all elements from given enumerable to the stream.
|
![]() ![]() | WriteAllAsyncT(IClientStreamWriterT, IEnumerableT, Boolean) |
Writes all elements from given enumerable to the stream.
Completes the stream afterwards unless close = false.
|