Share via


FunctionInvocationContext.IsStreaming Property

Definition

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

Property Value

Applies to