FunctionInvocationContext.IsStreaming Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the function invocation is occurring as part of a GetStreamingResponseAsync(IEnumerable<ChatMessage>, ChatOptions, CancellationToken) call as opposed to a GetResponseAsync(IEnumerable<ChatMessage>, ChatOptions, CancellationToken) call.
public:
property bool IsStreaming { bool get(); void set(bool value); };
public bool IsStreaming { get; set; }
member this.IsStreaming : bool with get, set
Public Property IsStreaming As Boolean