public delegate AsyncDuplexStreamingCall<TRequest, TResponse> AsyncDuplexStreamingCallContinuation<TRequest, TResponse>(ClientInterceptorContext<TRequest, TResponse> context)
where TRequest : class where TResponse : class;
Represents a continuation for intercepting asynchronous duplex invocations.
A delegate of this type is passed to the AsyncDuplexStreamingCall method
when an outgoing invocation is being intercepted and calling the
delegate will invoke the next interceptor in the chain, or the underlying
call invoker if called from the last interceptor. The interceptor is
allowed to call it zero, one, or multiple times, passing it the appropriate
request value and context as it sees fit.
An instance of AsyncDuplexStreamingCall<TRequest, TResponse>
representing an asynchronous invocation of a duplex-streaming RPC.
The interceptor can choose to return the same object returned from
the continuation delegate or an arbitrarily constructed instance as it sees fit.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document describes the `AsyncDuplexStreamingCallContinuation` delegate, which is used for intercepting asynchronous duplex invocations in gRPC."],["The delegate, when called, invokes the next interceptor or the underlying call invoker, allowing for zero, one, or multiple calls with appropriate request values and contexts."],["It takes a `ClientInterceptorContext\u003cTRequest, TResponse\u003e` parameter, which is passed to the next step in the invocation process, and it allows for the manipulation of the request/response."],["It returns an `AsyncDuplexStreamingCall\u003cTRequest, TResponse\u003e` object, which represents an asynchronous invocation of a duplex-streaming RPC, allowing the interceptor to either pass on or replace the object."],["The `TRequest` and `TResponse` parameters are the type parameters for the request and the response."]]],[]]