AwaitQueryOptionsWithMaxConcurrency Method
Returns new options with the given concurrency limit.
Namespace: MoreLinq.ExperimentalAssembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
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.