HeaderChunker.ProcessAsync(IngestionDocument, CancellationToken) Método

Definição

Divide um documento em partes de forma assíncrona.

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

Parâmetros

document
IngestionDocument

O documento a ser dividido.

cancellationToken
CancellationToken

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

Retornos

As partes criadas a partir do documento.

Aplica-se a