MvcOptions.MaxIAsyncEnumerableBufferLimit Property

Definition

Gets or sets the most number of entries of an IAsyncEnumerable<T> that that ObjectResultExecutor will buffer.

When Value is an instance of IAsyncEnumerable<T>, ObjectResultExecutor will eagerly read the enumeration and add to a synchronous collection prior to invoking the selected formatter. This property determines the most number of entries that the executor is allowed to buffer.

public:
 property int MaxIAsyncEnumerableBufferLimit { int get(); void set(int value); };
public int MaxIAsyncEnumerableBufferLimit { get; set; }
member this.MaxIAsyncEnumerableBufferLimit : int with get, set
Public Property MaxIAsyncEnumerableBufferLimit As Integer

Property Value

Defaults to 8192.

Applies to