SummaryEnricher.ProcessAsync Methode

Definition

Verarbeitet Datenblöcke asynchron.

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

Parameter

chunks
IAsyncEnumerable<IngestionChunk<String>>

Die zu verarbeitenden Blöcke.

cancellationToken
CancellationToken

Das Token, das auf Abbruchanforderungen überwacht werden soll.

Gibt zurück

Die verarbeiteten Blöcke.

Gilt für: