JsonRpcEnumerableSettings Class
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.
Provides customizations on performance characteristics of an IAsyncEnumerable<T> that is passed over JSON-RPC.
public class JsonRpcEnumerableSettings
type JsonRpcEnumerableSettings = class
Public Class JsonRpcEnumerableSettings
- Inheritance
-
JsonRpcEnumerableSettings
Constructors
JsonRpcEnumerableSettings() |
Properties
MaxReadAhead |
Gets or sets the maximum number of elements to read ahead and cache from the generator in anticipation of the consumer requesting those values. |
MinBatchSize |
Gets or sets the minimum number of elements to obtain from the generator before sending a batch of values to the consumer. |
Prefetch |
Gets or sets the number of elements that should be precomputed and provided in the initial JSON-RPC message so the receiving party does not neet to request the initial few elements. |