ClassificationEnricher.ProcessAsync Método

Definição

Processa partes de forma assíncrona.

public override System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.DataIngestion.IngestionChunk<string>> ProcessAsync(System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.DataIngestion.IngestionChunk<string>> chunks, System.Threading.CancellationToken cancellationToken = default);
override this.ProcessAsync : System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.DataIngestion.IngestionChunk<string>> * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.DataIngestion.IngestionChunk<string>>
Public Overrides Function ProcessAsync (chunks As IAsyncEnumerable(Of IngestionChunk(Of String)), Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of IngestionChunk(Of String))

Parâmetros

chunks
IAsyncEnumerable<IngestionChunk<String>>

As partes a serem processadas.

cancellationToken
CancellationToken

O token a ser monitorado para solicitações de cancelamento.

Retornos

As partes processadas.

Aplica-se a