Język

ClassificationEnricher.ProcessAsync Metoda

Definicja

Przetwarza fragmenty asynchronicznie.

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))

Parametry

chunks
IAsyncEnumerable<IngestionChunk<String>>

Fragmenty do przetworzenia.

cancellationToken
CancellationToken

Token do monitorowania żądań anulowania.

Zwraca

Przetworzone fragmenty.

Dotyczy