TextToSpeechResponseUpdateExtensions.ToTextToSpeechResponseAsync 메서드

정의

인스턴스를 TextToSpeechResponseUpdate 단일 TextToSpeechResponse로 결합합니다.

public static System.Threading.Tasks.Task<Microsoft.Extensions.AI.TextToSpeechResponse> ToTextToSpeechResponseAsync(this System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.TextToSpeechResponseUpdate> updates, System.Threading.CancellationToken cancellationToken = default);
static member ToTextToSpeechResponseAsync : System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.TextToSpeechResponseUpdate> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Extensions.AI.TextToSpeechResponse>
<Extension()>
Public Function ToTextToSpeechResponseAsync (updates As IAsyncEnumerable(Of TextToSpeechResponseUpdate), Optional cancellationToken As CancellationToken = Nothing) As Task(Of TextToSpeechResponse)

매개 변수

updates
IAsyncEnumerable<TextToSpeechResponseUpdate>

결합할 업데이트입니다.

cancellationToken
CancellationToken

CancellationToken 취소 요청을 모니터링할 대상입니다. 기본값은 None입니다.

반품

결합된 TextToSpeechResponse.

적용 대상