ClassificationEnricher.ProcessAsync Metod

Definition

Bearbetar segment asynkront.

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

Parametrar

chunks
IAsyncEnumerable<IngestionChunk<String>>

De segment som ska bearbetas.

cancellationToken
CancellationToken

Token som ska övervakas för annulleringsbegäranden.

Returer

De bearbetade segmenten.

Gäller för