HeaderChunker.ProcessAsync(IngestionDocument, CancellationToken) メソッド

定義

ドキュメントを非同期的にチャンクに分割します。

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

パラメーター

document
IngestionDocument

分割するドキュメント。

cancellationToken
CancellationToken

キャンセル要求を監視するトークン。

返品

ドキュメントから作成されたチャンク。

適用対象