Soenneker.Utils.RateLimiting.Factory
3.0.371
Prefix Reserved
dotnet add package Soenneker.Utils.RateLimiting.Factory --version 3.0.371
NuGet\Install-Package Soenneker.Utils.RateLimiting.Factory -Version 3.0.371
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Utils.RateLimiting.Factory" Version="3.0.371" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.RateLimiting.Factory --version 3.0.371
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.RateLimiting.Factory, 3.0.371"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Soenneker.Utils.RateLimiting.Factory as a Cake Addin #addin nuget:?package=Soenneker.Utils.RateLimiting.Factory&version=3.0.371 // Install Soenneker.Utils.RateLimiting.Factory as a Cake Tool #tool nuget:?package=Soenneker.Utils.RateLimiting.Factory&version=3.0.371
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Utils.RateLimiting.Factory
An async thread-safe singleton dictionary for Soenneker.Utils.RateLimiting.Executors, designed to manage the rate at which tasks are executed.
Installation
dotnet add package Soenneker.Utils.RateLimiting.Factory
Usage
- Register
IRateLimitingFactory
within DI (Program.cs
).
public static async Task Main(string[] args)
{
...
builder.Services.AddRateLimitingFactoryAsSingleton();
}
- Inject
IRateLimitingFactory
, and retrieve aRateLimitingFactory
.
Example:
public class TestClass
{
IRateLimitingFactory _factory;
public TestClass(IRateLimitingFactory factory)
{
_factory = factory;
}
public async ValueTask ExecuteTasks()
{
RateLimitingExecutor rateLimitingExecutor = await _factory.Get("test", TimeSpan.FromSeconds(2));
for (int i = 0; i < 5; i++)
{
await rateLimitingExecutor.Execute(async ct =>
{
Logger.LogInformation($"Executing Task {i + 1} at {DateTime.Now:HH:mm:ss}");
await Task.Delay(100, ct); // Simulate some work
});
}
}
}
Console Output
Executing Task 1 at 14:00:00
Executing Task 2 at 14:00:02
Executing Task 3 at 14:00:04
Executing Task 4 at 14:00:06
Executing Task 5 at 14:00:08
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Soenneker.Utils.RateLimiting.Executor (>= 3.0.206)
- Soenneker.Utils.SingletonDictionary (>= 3.0.759)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Soenneker.Utils.RateLimiting.Factory:
Package | Downloads |
---|---|
Soenneker.Validators.Yahoo.Exists
A validation module checking for Yahoo account existence |
|
Soenneker.Validators.Gmail.Exists
A validation module checking for Gmail account existence |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.371 | 54 | 1/3/2025 |
3.0.370 | 83 | 1/3/2025 |
3.0.369 | 58 | 1/3/2025 |
3.0.368 | 48 | 1/3/2025 |
3.0.367 | 56 | 1/3/2025 |
3.0.366 | 45 | 1/3/2025 |
3.0.365 | 67 | 1/3/2025 |
3.0.364 | 47 | 1/3/2025 |
3.0.363 | 48 | 1/3/2025 |
3.0.362 | 37 | 1/3/2025 |
3.0.361 | 49 | 1/3/2025 |
3.0.360 | 38 | 1/3/2025 |
3.0.359 | 67 | 1/2/2025 |
3.0.358 | 37 | 1/2/2025 |
3.0.357 | 70 | 1/2/2025 |
3.0.356 | 39 | 1/2/2025 |
3.0.355 | 99 | 1/2/2025 |
3.0.354 | 36 | 1/2/2025 |
3.0.353 | 41 | 1/2/2025 |
3.0.352 | 93 | 1/1/2025 |
3.0.351 | 51 | 1/1/2025 |
3.0.350 | 48 | 1/1/2025 |
3.0.349 | 62 | 1/1/2025 |
3.0.348 | 44 | 1/1/2025 |
3.0.347 | 65 | 1/1/2025 |
3.0.346 | 52 | 1/1/2025 |
3.0.345 | 93 | 1/1/2025 |
3.0.344 | 68 | 1/1/2025 |
3.0.343 | 63 | 1/1/2025 |
3.0.342 | 69 | 1/1/2025 |
3.0.341 | 90 | 1/1/2025 |
3.0.340 | 78 | 1/1/2025 |
3.0.339 | 83 | 12/31/2024 |
3.0.338 | 74 | 12/31/2024 |
3.0.337 | 71 | 12/31/2024 |
3.0.336 | 110 | 12/31/2024 |
3.0.335 | 64 | 12/31/2024 |
3.0.334 | 64 | 12/31/2024 |
3.0.333 | 148 | 12/31/2024 |
3.0.332 | 74 | 12/31/2024 |
3.0.331 | 77 | 12/31/2024 |
3.0.330 | 71 | 12/31/2024 |
3.0.329 | 194 | 12/31/2024 |
3.0.328 | 67 | 12/31/2024 |
3.0.327 | 64 | 12/31/2024 |
3.0.326 | 125 | 12/31/2024 |
3.0.325 | 67 | 12/31/2024 |
3.0.324 | 69 | 12/31/2024 |
3.0.323 | 69 | 12/31/2024 |
3.0.322 | 68 | 12/31/2024 |
3.0.321 | 201 | 12/30/2024 |
3.0.320 | 140 | 12/28/2024 |
3.0.319 | 126 | 12/28/2024 |
3.0.318 | 80 | 12/28/2024 |
3.0.317 | 79 | 12/28/2024 |
3.0.316 | 91 | 12/28/2024 |
3.0.315 | 116 | 12/28/2024 |
3.0.314 | 70 | 12/28/2024 |
3.0.313 | 82 | 12/27/2024 |
3.0.312 | 78 | 12/27/2024 |
3.0.311 | 146 | 12/27/2024 |
3.0.310 | 75 | 12/27/2024 |
3.0.309 | 265 | 12/24/2024 |
3.0.308 | 130 | 12/24/2024 |
3.0.307 | 77 | 12/24/2024 |
3.0.306 | 73 | 12/24/2024 |
3.0.305 | 145 | 12/24/2024 |
3.0.304 | 93 | 12/24/2024 |
3.0.303 | 105 | 12/24/2024 |
3.0.302 | 78 | 12/24/2024 |
3.0.301 | 74 | 12/24/2024 |
3.0.300 | 154 | 12/24/2024 |
3.0.299 | 153 | 12/24/2024 |
3.0.298 | 102 | 12/24/2024 |
3.0.297 | 72 | 12/24/2024 |
3.0.296 | 79 | 12/24/2024 |
3.0.295 | 77 | 12/24/2024 |
3.0.294 | 108 | 12/24/2024 |
3.0.293 | 75 | 12/24/2024 |
3.0.292 | 108 | 12/23/2024 |
3.0.291 | 67 | 12/23/2024 |
3.0.290 | 88 | 12/23/2024 |
3.0.289 | 76 | 12/23/2024 |
3.0.288 | 130 | 12/23/2024 |
3.0.287 | 180 | 12/23/2024 |
3.0.286 | 73 | 12/23/2024 |
3.0.285 | 131 | 12/23/2024 |
3.0.284 | 79 | 12/23/2024 |
3.0.283 | 76 | 12/23/2024 |
3.0.282 | 102 | 12/23/2024 |
3.0.281 | 74 | 12/23/2024 |
3.0.280 | 189 | 12/23/2024 |
3.0.279 | 73 | 12/23/2024 |
3.0.278 | 110 | 12/22/2024 |
3.0.277 | 72 | 12/22/2024 |
3.0.276 | 78 | 12/22/2024 |
3.0.275 | 152 | 12/22/2024 |
3.0.274 | 85 | 12/22/2024 |
3.0.273 | 77 | 12/22/2024 |
3.0.272 | 85 | 12/22/2024 |
3.0.271 | 195 | 12/22/2024 |
3.0.270 | 77 | 12/22/2024 |
3.0.269 | 128 | 12/22/2024 |
3.0.268 | 170 | 12/22/2024 |
3.0.267 | 79 | 12/22/2024 |
3.0.266 | 107 | 12/22/2024 |
3.0.265 | 104 | 12/21/2024 |
3.0.264 | 90 | 12/21/2024 |
3.0.263 | 96 | 12/21/2024 |
3.0.262 | 78 | 12/21/2024 |
3.0.261 | 218 | 12/21/2024 |
3.0.260 | 78 | 12/21/2024 |
3.0.259 | 113 | 12/21/2024 |
3.0.258 | 78 | 12/21/2024 |
3.0.257 | 148 | 12/21/2024 |
3.0.256 | 83 | 12/21/2024 |
3.0.255 | 76 | 12/21/2024 |
3.0.254 | 196 | 12/21/2024 |
3.0.253 | 79 | 12/21/2024 |
3.0.252 | 73 | 12/21/2024 |
3.0.251 | 116 | 12/20/2024 |
3.0.250 | 73 | 12/20/2024 |
3.0.249 | 138 | 12/20/2024 |
3.0.248 | 80 | 12/20/2024 |
3.0.247 | 76 | 12/20/2024 |
3.0.246 | 155 | 12/20/2024 |
3.0.245 | 141 | 12/20/2024 |
3.0.244 | 74 | 12/20/2024 |
3.0.243 | 81 | 12/20/2024 |
3.0.242 | 80 | 12/20/2024 |
3.0.241 | 139 | 12/20/2024 |
3.0.240 | 86 | 12/20/2024 |
3.0.239 | 85 | 12/20/2024 |
3.0.238 | 159 | 12/19/2024 |
3.0.237 | 77 | 12/19/2024 |
3.0.236 | 112 | 12/19/2024 |
3.0.235 | 98 | 12/19/2024 |
3.0.234 | 77 | 12/19/2024 |
3.0.233 | 72 | 12/19/2024 |
3.0.232 | 124 | 12/19/2024 |
3.0.231 | 72 | 12/19/2024 |
3.0.230 | 108 | 12/18/2024 |
3.0.229 | 77 | 12/18/2024 |
3.0.228 | 79 | 12/18/2024 |
3.0.227 | 167 | 12/17/2024 |
3.0.225 | 111 | 12/17/2024 |
3.0.224 | 142 | 12/17/2024 |
3.0.223 | 99 | 12/16/2024 |
3.0.222 | 76 | 12/16/2024 |
3.0.221 | 76 | 12/16/2024 |
3.0.220 | 84 | 12/16/2024 |
3.0.219 | 270 | 12/10/2024 |
3.0.218 | 71 | 12/10/2024 |
3.0.217 | 97 | 12/10/2024 |
3.0.216 | 84 | 12/10/2024 |
3.0.215 | 122 | 12/10/2024 |
3.0.214 | 78 | 12/10/2024 |
3.0.213 | 92 | 12/9/2024 |
3.0.212 | 91 | 12/9/2024 |
3.0.211 | 124 | 12/9/2024 |
3.0.210 | 165 | 12/9/2024 |
3.0.209 | 82 | 12/9/2024 |
3.0.208 | 89 | 12/9/2024 |
3.0.207 | 74 | 12/9/2024 |
3.0.206 | 79 | 12/9/2024 |
3.0.205 | 129 | 12/9/2024 |
3.0.204 | 75 | 12/9/2024 |
3.0.203 | 201 | 12/7/2024 |
3.0.202 | 91 | 12/7/2024 |
3.0.201 | 83 | 12/7/2024 |
3.0.200 | 80 | 12/6/2024 |
3.0.199 | 77 | 12/6/2024 |
3.0.198 | 91 | 12/6/2024 |
3.0.197 | 84 | 12/6/2024 |
3.0.196 | 86 | 12/6/2024 |
3.0.195 | 86 | 12/6/2024 |
3.0.194 | 88 | 12/6/2024 |
3.0.193 | 81 | 12/6/2024 |
3.0.192 | 88 | 12/6/2024 |
3.0.191 | 94 | 12/6/2024 |
3.0.190 | 89 | 12/6/2024 |
3.0.189 | 92 | 12/6/2024 |
3.0.188 | 90 | 12/6/2024 |
3.0.187 | 105 | 12/6/2024 |
3.0.184 | 98 | 12/6/2024 |
3.0.183 | 86 | 12/6/2024 |
3.0.182 | 83 | 12/6/2024 |
3.0.181 | 98 | 12/5/2024 |
3.0.180 | 92 | 12/5/2024 |
3.0.179 | 87 | 12/5/2024 |
3.0.178 | 639 | 12/5/2024 |
3.0.177 | 100 | 12/5/2024 |
3.0.176 | 88 | 12/5/2024 |
3.0.175 | 110 | 12/5/2024 |
3.0.174 | 77 | 12/5/2024 |
3.0.173 | 104 | 12/5/2024 |
3.0.172 | 127 | 12/5/2024 |
3.0.171 | 82 | 12/5/2024 |
3.0.170 | 117 | 12/5/2024 |
3.0.169 | 90 | 12/5/2024 |
3.0.168 | 93 | 12/5/2024 |
3.0.167 | 84 | 12/4/2024 |
3.0.166 | 87 | 12/4/2024 |
3.0.165 | 134 | 12/4/2024 |
3.0.164 | 88 | 12/4/2024 |
3.0.163 | 172 | 12/4/2024 |
3.0.162 | 115 | 12/4/2024 |
3.0.161 | 94 | 12/4/2024 |
3.0.160 | 121 | 12/4/2024 |
3.0.159 | 84 | 12/4/2024 |
3.0.158 | 140 | 12/4/2024 |
3.0.157 | 84 | 12/4/2024 |
3.0.156 | 81 | 12/4/2024 |
3.0.155 | 162 | 12/4/2024 |
3.0.154 | 83 | 12/3/2024 |
3.0.153 | 80 | 12/3/2024 |
3.0.152 | 124 | 12/3/2024 |
3.0.151 | 74 | 12/3/2024 |
3.0.150 | 112 | 12/3/2024 |
3.0.149 | 82 | 12/3/2024 |
3.0.148 | 85 | 12/3/2024 |
3.0.147 | 80 | 12/3/2024 |
3.0.146 | 127 | 12/3/2024 |
3.0.145 | 76 | 12/3/2024 |
3.0.144 | 87 | 12/3/2024 |
3.0.143 | 132 | 12/3/2024 |
3.0.142 | 82 | 12/3/2024 |
3.0.141 | 322 | 12/2/2024 |
3.0.140 | 88 | 12/2/2024 |
3.0.139 | 83 | 12/2/2024 |
3.0.138 | 71 | 12/2/2024 |
3.0.137 | 132 | 12/2/2024 |
3.0.136 | 90 | 12/2/2024 |
3.0.135 | 85 | 12/2/2024 |
3.0.134 | 139 | 12/2/2024 |
3.0.133 | 79 | 12/2/2024 |
3.0.132 | 143 | 12/2/2024 |
3.0.131 | 81 | 12/2/2024 |
3.0.130 | 184 | 12/2/2024 |
3.0.129 | 83 | 12/2/2024 |
3.0.128 | 82 | 12/1/2024 |
3.0.127 | 82 | 12/1/2024 |
3.0.126 | 124 | 12/1/2024 |
3.0.125 | 85 | 12/1/2024 |
3.0.124 | 177 | 12/1/2024 |
3.0.123 | 96 | 12/1/2024 |
3.0.122 | 89 | 12/1/2024 |
3.0.121 | 86 | 12/1/2024 |
3.0.120 | 170 | 11/29/2024 |
3.0.119 | 107 | 11/29/2024 |
3.0.118 | 82 | 11/29/2024 |
3.0.117 | 122 | 11/29/2024 |
3.0.116 | 78 | 11/29/2024 |
3.0.115 | 115 | 11/29/2024 |
3.0.114 | 98 | 11/29/2024 |
3.0.113 | 163 | 11/21/2024 |
3.0.112 | 102 | 11/21/2024 |
3.0.111 | 80 | 11/21/2024 |
3.0.110 | 86 | 11/21/2024 |
3.0.109 | 110 | 11/21/2024 |
3.0.108 | 91 | 11/21/2024 |
3.0.107 | 185 | 11/20/2024 |
3.0.106 | 94 | 11/20/2024 |
3.0.105 | 84 | 11/20/2024 |
3.0.104 | 103 | 11/20/2024 |
3.0.103 | 83 | 11/20/2024 |
3.0.102 | 78 | 11/20/2024 |
3.0.101 | 87 | 11/20/2024 |
3.0.100 | 86 | 11/19/2024 |
3.0.99 | 82 | 11/19/2024 |
3.0.98 | 78 | 11/19/2024 |
3.0.97 | 345 | 11/19/2024 |
3.0.96 | 209 | 11/19/2024 |
3.0.95 | 75 | 11/19/2024 |
3.0.94 | 75 | 11/19/2024 |
3.0.93 | 149 | 11/19/2024 |
3.0.92 | 75 | 11/19/2024 |
3.0.91 | 105 | 11/19/2024 |
3.0.90 | 83 | 11/19/2024 |
3.0.89 | 232 | 11/15/2024 |
3.0.88 | 109 | 11/15/2024 |
3.0.87 | 76 | 11/15/2024 |
3.0.86 | 86 | 11/14/2024 |
3.0.85 | 78 | 11/14/2024 |
3.0.84 | 121 | 11/14/2024 |
3.0.83 | 77 | 11/14/2024 |
3.0.82 | 84 | 11/14/2024 |
3.0.81 | 81 | 11/14/2024 |
3.0.80 | 130 | 11/14/2024 |
3.0.79 | 126 | 11/14/2024 |
3.0.78 | 90 | 11/14/2024 |
3.0.77 | 81 | 11/14/2024 |
3.0.76 | 171 | 11/14/2024 |
3.0.75 | 86 | 11/14/2024 |
3.0.74 | 127 | 11/14/2024 |
3.0.73 | 166 | 11/14/2024 |
3.0.72 | 87 | 11/14/2024 |
3.0.71 | 145 | 11/14/2024 |
3.0.70 | 84 | 11/14/2024 |
3.0.69 | 108 | 11/14/2024 |
3.0.68 | 95 | 11/14/2024 |
3.0.67 | 177 | 11/14/2024 |
3.0.66 | 85 | 11/14/2024 |
3.0.65 | 89 | 11/14/2024 |
2.1.64 | 268 | 11/13/2024 |
2.1.63 | 102 | 11/13/2024 |
2.1.62 | 119 | 11/13/2024 |
2.1.61 | 84 | 11/13/2024 |
2.1.60 | 77 | 11/13/2024 |
2.1.59 | 223 | 11/13/2024 |
2.1.58 | 88 | 11/13/2024 |
2.1.57 | 86 | 11/13/2024 |
2.1.56 | 124 | 11/12/2024 |
2.1.55 | 82 | 11/12/2024 |
2.1.54 | 603 | 11/9/2024 |
2.1.53 | 118 | 11/9/2024 |
2.1.52 | 91 | 11/9/2024 |
2.1.51 | 133 | 11/9/2024 |
2.1.50 | 91 | 11/9/2024 |
2.1.49 | 89 | 11/9/2024 |
2.1.48 | 90 | 11/9/2024 |
2.1.47 | 223 | 11/9/2024 |
2.1.46 | 206 | 11/8/2024 |
2.1.45 | 94 | 11/8/2024 |
2.1.44 | 98 | 11/8/2024 |
2.1.43 | 116 | 11/8/2024 |
2.1.42 | 97 | 11/8/2024 |
2.1.41 | 210 | 11/8/2024 |
2.1.40 | 93 | 11/8/2024 |
2.1.39 | 94 | 11/8/2024 |
2.1.38 | 185 | 11/8/2024 |
2.1.37 | 87 | 11/8/2024 |
2.1.36 | 246 | 11/6/2024 |
2.1.35 | 136 | 11/6/2024 |
2.1.34 | 271 | 11/1/2024 |
2.1.33 | 124 | 11/1/2024 |
2.1.32 | 93 | 11/1/2024 |
2.1.31 | 120 | 11/1/2024 |
2.1.30 | 150 | 11/1/2024 |
2.1.29 | 149 | 11/1/2024 |
2.1.28 | 97 | 11/1/2024 |
2.1.26 | 216 | 10/29/2024 |
2.1.25 | 83 | 10/29/2024 |
2.1.24 | 83 | 10/29/2024 |
2.1.23 | 95 | 10/29/2024 |
2.1.22 | 90 | 10/29/2024 |
2.1.21 | 82 | 10/29/2024 |
2.1.20 | 222 | 10/29/2024 |
2.1.19 | 190 | 10/29/2024 |
2.1.18 | 123 | 10/29/2024 |
2.1.17 | 90 | 10/29/2024 |
2.1.16 | 81 | 10/29/2024 |
2.1.15 | 208 | 10/28/2024 |
2.1.14 | 88 | 10/28/2024 |
2.1.13 | 86 | 10/28/2024 |
2.1.12 | 311 | 10/26/2024 |
2.1.11 | 88 | 10/26/2024 |
2.1.10 | 91 | 10/26/2024 |
2.1.9 | 82 | 10/26/2024 |
2.1.8 | 93 | 10/26/2024 |
2.1.7 | 89 | 10/26/2024 |
2.1.6 | 213 | 10/22/2024 |
2.1.5 | 90 | 10/22/2024 |
2.1.4 | 88 | 10/22/2024 |
2.1.3 | 91 | 10/22/2024 |
2.1.2 | 93 | 10/22/2024 |
2.1.1 | 94 | 10/22/2024 |