Compartilhar via


CodeGenHelpers.CreateAsyncEnumerableProxy<T> Método

Definição

StreamJsonRpc.ProxyGeneration.AsyncEnumerableProxy`1
public static System.Collections.Generic.IAsyncEnumerable<T> CreateAsyncEnumerableProxy<T> (System.Threading.Tasks.Task<System.Collections.Generic.IAsyncEnumerable<T>> enumerableTask, System.Threading.CancellationToken defaultCancellationToken);
static member CreateAsyncEnumerableProxy : System.Threading.Tasks.Task<System.Collections.Generic.IAsyncEnumerable<'T>> * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'T>
Public Shared Function CreateAsyncEnumerableProxy(Of T) (enumerableTask As Task(Of IAsyncEnumerable(Of T)), defaultCancellationToken As CancellationToken) As IAsyncEnumerable(Of T)

Parâmetros de tipo

T

Parâmetros

enumerableTask
Task<IAsyncEnumerable<T>>
defaultCancellationToken
CancellationToken

Retornos

Aplica-se a