Class MiddlewareResponseStream<T>
- Namespace
- Apache.Arrow.Flight.Middleware.Interceptors
- Assembly
- Apache.Arrow.Flight.dll
public class MiddlewareResponseStream<T> : IAsyncStreamReader<T> where T : class
Type Parameters
T
- Inheritance
-
MiddlewareResponseStream<T>
- Implements
- Inherited Members
Constructors
MiddlewareResponseStream(IAsyncStreamReader<T>, AsyncServerStreamingCall<T>, List<IFlightClientMiddleware>)
public MiddlewareResponseStream(IAsyncStreamReader<T> inner, AsyncServerStreamingCall<T> call, List<IFlightClientMiddleware> middlewareList)
Parameters
innerIAsyncStreamReader<T>callAsyncServerStreamingCall<T>middlewareListList<IFlightClientMiddleware>
Properties
Current
Gets the current element in the iteration.
public T Current { get; }
Property Value
- T
Methods
MoveNext(CancellationToken)
Advances the reader to the next element in the sequence, returning the result asynchronously.
public Task<bool> MoveNext(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancellation token that can be used to cancel the operation.