HeaderChunker.ProcessAsync(IngestionDocument, CancellationToken) Metodo

Definizione

Suddivide un documento in blocchi in modo asincrono.

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

Parametri

document
IngestionDocument

Documento da dividere.

cancellationToken
CancellationToken

Token da monitorare per le richieste di annullamento.

Valori restituiti

Blocchi creati dal documento.

Si applica a