Click or drag to resize
AsyncStreamExtensions Class
Extension methods that simplify work with gRPC streaming calls.
Inheritance Hierarchy
SystemObject
  Grpc.Core.UtilsAsyncStreamExtensions

Namespace: Grpc.Core.Utils
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.6.1.0
Syntax
public static class AsyncStreamExtensions

The AsyncStreamExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberForEachAsyncT
Reads the entire stream and executes an async action for each element.
Public methodStatic memberToListAsyncT
Reads the entire stream and creates a list containing all the elements read.
Public methodStatic memberWriteAllAsyncT(IServerStreamWriterT, IEnumerableT)
Writes all elements from given enumerable to the stream.
Public methodStatic memberWriteAllAsyncT(IClientStreamWriterT, IEnumerableT, Boolean)
Writes all elements from given enumerable to the stream. Completes the stream afterwards unless close = false.
Top
See Also