AwaitQueryOptionsWithMaxConcurrency Method
Returns new options with the given concurrency limit.
Namespace: MoreLinq.ExperimentalAssembly: MoreLinq (in MoreLinq.dll) Version: 4.1.0+0e154ef592f33ce0f6f3d534a9eedee273f0ce72
public AwaitQueryOptions WithMaxConcurrency(
int? value
)
Public Function WithMaxConcurrency (
value As Integer?
) As AwaitQueryOptions
public:
AwaitQueryOptions^ WithMaxConcurrency(
Nullable<int> value
)
member WithMaxConcurrency :
value : Nullable<int> -> AwaitQueryOptions
- value NullableInt32
-
The maximum concurrent asynchronous operation to keep in flight.
Use null to mean unbounded concurrency.
AwaitQueryOptionsOptions with the new setting.