ChatClientStreamingResponseHandler typedef
ChatClientStreamingResponseHandler =
Stream<ChatResponseUpdate> Function(Iterable<ChatMessage> messages, ChatOptions? options, ChatClient innerClient, CancellationToken? cancellationToken)
A function that handles a streaming chat response request.
Implementation
typedef ChatClientStreamingResponseHandler
= Stream<ChatResponseUpdate> Function(
Iterable<ChatMessage> messages,
ChatOptions? options,
ChatClient innerClient,
CancellationToken? cancellationToken,
);