Appearance
Throttle Constructors
Definition
- Namespace:
JASE - Assembly:
JASE.Concurrency.dll
Throttle(int maxRequests, TimeSpan timeSpan)
csharp
Throttle(int maxRequests, TimeSpan timeSpan)Initializes a new instance of the Throttle class with the specified maximum requests and time span.
Parameters
| Name | Description |
|---|---|
maxRequests | The maximum number of requests allowed within the specified time span. |
timeSpan | The time span during which the maximum number of requests is allowed. |