Soenneker.Utils.Cancellation
2.1.235
dotnet add package Soenneker.Utils.Cancellation --version 2.1.235
NuGet\Install-Package Soenneker.Utils.Cancellation -Version 2.1.235
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.Cancellation" Version="2.1.235" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.Cancellation --version 2.1.235
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Cancellation, 2.1.235"
#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.Cancellation as a Cake Addin
#addin nuget:?package=Soenneker.Utils.Cancellation&version=2.1.235
// Install Soenneker.Utils.Cancellation as a Cake Tool
#tool nuget:?package=Soenneker.Utils.Cancellation&version=2.1.235
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Utils.Cancellation
A utility library allowing for easy CancellationToken usage
Installation
dotnet add package Soenneker.Utils.Cancellation
Usage
- Register the interop within DI (
Program.cs
).
public static async Task Main(string[] args)
{
...
builder.Services.AddCancellationUtil();
}
- Inject
ICancellationUtil
where you wish to set theCancellationToken
(typically from an API Controller)
_cancellationUtil.Set(cancellationToken);
- Inject
ICancellationUtil
where you wish to retrieve theCancellationToken
(typically when accessing another API, or database etc):
// is not guaranteed to be non-null (if it never was set within scope), but is specified thus for ease of use
var cancellationUtil = _cancellationUtil.Get();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Soenneker.Utils.Cancellation:
Package | Downloads |
---|---|
Soenneker.Cosmos.Repository
A data persistence abstraction layer for Cosmos DB |
|
Soenneker.Blob.Download
A utility library for Azure Blob download operations |
|
Soenneker.Blob.Fetch
A utility library for Azure Blob fetch (metadata) operations |
|
Soenneker.Coordinators.Base
A base class that sits between a controller and manager (responsibility-driven-design) providing logging and cancellation |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.235 | 690 | 6/22/2024 |
2.1.234 | 729 | 6/15/2024 |
2.1.233 | 252 | 6/15/2024 |
2.1.232 | 722 | 6/14/2024 |
2.1.231 | 795 | 6/1/2024 |
2.1.230 | 137 | 6/1/2024 |
2.1.229 | 319 | 6/1/2024 |
2.1.228 | 966 | 5/31/2024 |
2.1.227 | 658 | 5/29/2024 |
2.1.226 | 569 | 5/28/2024 |
2.1.225 | 311 | 5/27/2024 |
2.1.224 | 648 | 5/26/2024 |
2.1.223 | 580 | 5/26/2024 |
2.1.222 | 349 | 5/26/2024 |
2.1.221 | 228 | 5/26/2024 |
2.1.220 | 240 | 5/25/2024 |
2.1.219 | 565 | 5/25/2024 |
2.1.218 | 134 | 5/25/2024 |
2.1.217 | 326 | 5/25/2024 |
2.1.216 | 325 | 5/25/2024 |
2.1.215 | 603 | 5/23/2024 |
2.1.214 | 415 | 5/23/2024 |
2.1.213 | 381 | 5/22/2024 |
2.1.212 | 229 | 5/22/2024 |
2.1.211 | 261 | 5/22/2024 |
2.1.210 | 1,038 | 5/18/2024 |
2.1.209 | 451 | 5/17/2024 |
2.1.208 | 245 | 5/17/2024 |
2.1.207 | 577 | 5/16/2024 |
2.1.206 | 170 | 5/15/2024 |
2.1.205 | 702 | 5/15/2024 |
2.1.204 | 759 | 5/13/2024 |
2.1.203 | 887 | 4/29/2024 |
2.1.202 | 223 | 4/29/2024 |
2.1.201 | 739 | 4/28/2024 |
2.1.200 | 249 | 4/28/2024 |
2.1.199 | 142 | 4/28/2024 |
2.1.198 | 521 | 4/28/2024 |
2.1.197 | 186 | 4/28/2024 |
2.1.196 | 324 | 4/28/2024 |
2.1.195 | 225 | 4/28/2024 |
2.1.194 | 453 | 4/27/2024 |
2.1.193 | 642 | 4/19/2024 |
2.1.192 | 823 | 4/18/2024 |
2.1.191 | 656 | 4/12/2024 |
2.1.190 | 415 | 4/12/2024 |
2.1.189 | 236 | 4/12/2024 |
2.1.188 | 246 | 4/12/2024 |
2.1.187 | 378 | 4/12/2024 |
2.1.186 | 272 | 4/12/2024 |
2.1.185 | 348 | 4/11/2024 |
2.1.184 | 423 | 4/10/2024 |
2.1.183 | 300 | 4/9/2024 |
2.1.182 | 722 | 4/2/2024 |
2.1.181 | 270 | 4/1/2024 |
2.1.180 | 493 | 3/29/2024 |
2.1.179 | 481 | 3/25/2024 |
2.1.178 | 207 | 3/25/2024 |
2.1.177 | 624 | 3/20/2024 |
2.1.176 | 603 | 3/19/2024 |
2.1.175 | 309 | 3/19/2024 |
2.1.174 | 451 | 3/18/2024 |
2.1.173 | 719 | 3/15/2024 |
2.1.172 | 473 | 3/13/2024 |
2.1.171 | 211 | 3/13/2024 |
2.1.170 | 508 | 3/13/2024 |
2.1.169 | 217 | 3/13/2024 |
2.1.168 | 94 | 3/13/2024 |
2.1.167 | 491 | 3/12/2024 |
2.1.166 | 359 | 3/12/2024 |
2.1.165 | 546 | 3/11/2024 |
2.1.164 | 536 | 3/11/2024 |
2.1.163 | 541 | 3/10/2024 |
2.1.162 | 507 | 3/8/2024 |
2.1.161 | 228 | 3/8/2024 |
2.1.160 | 430 | 3/8/2024 |
2.1.159 | 644 | 3/6/2024 |
2.1.158 | 503 | 3/4/2024 |
2.1.157 | 519 | 3/4/2024 |
2.1.156 | 471 | 3/3/2024 |
2.1.155 | 432 | 3/2/2024 |
2.1.154 | 168 | 3/2/2024 |
2.1.153 | 410 | 3/2/2024 |
2.1.152 | 123 | 3/2/2024 |
2.1.151 | 445 | 2/29/2024 |
2.1.150 | 147 | 2/29/2024 |
2.1.149 | 421 | 2/29/2024 |
2.1.148 | 626 | 2/26/2024 |
2.1.147 | 300 | 2/25/2024 |
2.1.146 | 333 | 2/25/2024 |
2.1.145 | 1,282 | 2/23/2024 |
2.1.144 | 449 | 2/22/2024 |
2.1.143 | 281 | 2/22/2024 |
2.1.142 | 481 | 2/21/2024 |
2.1.141 | 472 | 2/21/2024 |
2.1.140 | 383 | 2/21/2024 |
2.1.139 | 231 | 2/21/2024 |
2.1.138 | 203 | 2/21/2024 |
2.1.137 | 84 | 2/21/2024 |
2.1.136 | 1,013 | 2/20/2024 |
2.1.135 | 339 | 2/20/2024 |
2.1.134 | 264 | 2/20/2024 |
2.1.133 | 303 | 2/19/2024 |
2.1.132 | 431 | 2/19/2024 |
2.1.131 | 456 | 2/17/2024 |
2.1.130 | 287 | 2/17/2024 |
2.1.129 | 337 | 2/16/2024 |
2.1.128 | 177 | 2/16/2024 |
2.1.127 | 210 | 2/16/2024 |
2.1.126 | 254 | 2/16/2024 |
2.1.125 | 420 | 2/16/2024 |
2.1.124 | 140 | 2/16/2024 |
2.1.123 | 788 | 2/13/2024 |
2.1.122 | 615 | 2/13/2024 |
2.1.121 | 137 | 2/13/2024 |
2.1.120 | 300 | 2/13/2024 |
2.1.119 | 316 | 2/13/2024 |
2.1.118 | 440 | 2/12/2024 |
2.1.117 | 205 | 2/11/2024 |
2.1.116 | 629 | 2/11/2024 |
2.1.115 | 312 | 2/11/2024 |
2.1.114 | 405 | 2/10/2024 |
2.1.113 | 238 | 2/9/2024 |
2.1.112 | 528 | 2/9/2024 |
2.1.111 | 388 | 2/9/2024 |
2.1.110 | 208 | 2/8/2024 |
2.1.109 | 377 | 2/8/2024 |
2.1.108 | 302 | 2/8/2024 |
2.1.107 | 363 | 2/8/2024 |
2.1.106 | 469 | 2/7/2024 |
2.1.105 | 306 | 2/7/2024 |
2.1.104 | 171 | 2/7/2024 |
2.1.103 | 458 | 2/7/2024 |
2.1.102 | 67 | 2/6/2024 |
2.1.101 | 339 | 2/6/2024 |
2.1.100 | 535 | 2/5/2024 |
2.1.99 | 526 | 2/4/2024 |
2.1.98 | 389 | 2/2/2024 |
2.1.97 | 633 | 1/31/2024 |
2.1.96 | 481 | 1/29/2024 |
2.1.95 | 481 | 1/29/2024 |
2.1.94 | 183 | 1/29/2024 |
2.1.93 | 496 | 1/28/2024 |
2.1.92 | 192 | 1/28/2024 |
2.1.91 | 363 | 1/28/2024 |
2.1.90 | 192 | 1/28/2024 |
2.1.89 | 233 | 1/28/2024 |
2.1.88 | 542 | 1/27/2024 |
2.1.87 | 332 | 1/27/2024 |
2.1.86 | 119 | 1/27/2024 |
2.1.85 | 237 | 1/27/2024 |
2.1.84 | 315 | 1/27/2024 |
2.1.83 | 337 | 1/27/2024 |
2.1.82 | 143 | 1/26/2024 |
2.1.81 | 256 | 1/26/2024 |
2.1.80 | 349 | 1/26/2024 |
2.1.79 | 192 | 1/26/2024 |
2.1.78 | 579 | 1/26/2024 |
2.1.77 | 349 | 1/26/2024 |
2.1.76 | 257 | 1/25/2024 |
2.1.75 | 215 | 1/25/2024 |
2.1.74 | 219 | 1/25/2024 |
2.1.73 | 241 | 1/25/2024 |
2.1.72 | 729 | 1/19/2024 |
2.1.71 | 591 | 1/15/2024 |
2.1.70 | 270 | 1/15/2024 |
2.1.69 | 292 | 1/15/2024 |
2.1.68 | 361 | 1/15/2024 |
2.1.67 | 458 | 1/15/2024 |
2.1.66 | 482 | 1/14/2024 |
2.1.65 | 538 | 1/13/2024 |
2.1.64 | 472 | 1/12/2024 |
2.1.63 | 643 | 1/11/2024 |
2.1.62 | 654 | 1/7/2024 |
2.1.61 | 476 | 1/5/2024 |
2.1.60 | 313 | 1/5/2024 |
2.1.59 | 514 | 1/5/2024 |
2.1.58 | 566 | 1/1/2024 |
2.1.57 | 673 | 12/28/2023 |
2.1.56 | 423 | 12/28/2023 |
2.1.55 | 407 | 12/28/2023 |
2.1.54 | 300 | 12/27/2023 |
2.1.53 | 207 | 12/27/2023 |
2.1.52 | 88 | 12/27/2023 |
2.1.51 | 901 | 12/25/2023 |
2.1.50 | 159 | 12/25/2023 |
2.1.49 | 398 | 12/25/2023 |
2.1.48 | 262 | 12/25/2023 |
2.1.47 | 367 | 12/25/2023 |
2.1.46 | 148 | 12/25/2023 |
2.1.45 | 451 | 12/24/2023 |
2.1.44 | 582 | 12/23/2023 |
2.1.43 | 302 | 12/23/2023 |
2.1.42 | 467 | 12/23/2023 |
2.1.41 | 193 | 12/23/2023 |
2.1.40 | 332 | 12/23/2023 |
2.1.39 | 750 | 12/19/2023 |
2.1.38 | 191 | 12/19/2023 |
2.1.37 | 1,230 | 12/10/2023 |
2.1.36 | 500 | 12/10/2023 |
2.1.35 | 844 | 12/9/2023 |
2.1.34 | 390 | 12/9/2023 |
2.1.33 | 463 | 12/9/2023 |
2.1.32 | 749 | 12/6/2023 |
2.1.31 | 631 | 12/5/2023 |
2.1.30 | 377 | 12/4/2023 |
2.1.29 | 178 | 12/4/2023 |
2.1.28 | 351 | 12/4/2023 |
2.1.27 | 812 | 11/23/2023 |
2.1.26 | 336 | 11/23/2023 |
2.1.25 | 359 | 11/23/2023 |
2.1.24 | 230 | 11/23/2023 |
2.1.23 | 478 | 11/20/2023 |
2.1.22 | 413 | 11/20/2023 |
2.1.21 | 380 | 11/19/2023 |
2.1.20 | 219 | 11/19/2023 |
2.1.19 | 412 | 11/19/2023 |
2.1.18 | 239 | 11/19/2023 |
2.1.17 | 481 | 11/18/2023 |
2.1.16 | 327 | 11/18/2023 |
2.1.15 | 226 | 11/18/2023 |
2.1.14 | 336 | 11/18/2023 |
2.1.13 | 443 | 11/17/2023 |
2.1.12 | 82 | 11/17/2023 |
2.1.11 | 389 | 11/17/2023 |
2.1.10 | 321 | 11/17/2023 |
2.1.9 | 255 | 11/17/2023 |
2.1.8 | 208 | 11/17/2023 |
2.1.7 | 411 | 11/17/2023 |
2.1.6 | 243 | 11/17/2023 |
2.1.5 | 155 | 11/17/2023 |
2.1.4 | 497 | 11/16/2023 |
2.0.82 | 642 | 11/15/2023 |
2.0.81 | 88 | 11/15/2023 |
2.0.80 | 84 | 11/15/2023 |
2.0.79 | 172 | 11/15/2023 |
2.0.3 | 94 | 11/16/2023 |
2.0.2 | 94 | 11/16/2023 |
2.0.1 | 90 | 11/16/2023 |
1.0.78 | 368 | 11/14/2023 |
1.0.77 | 646 | 11/13/2023 |
1.0.76 | 524 | 11/10/2023 |
1.0.75 | 442 | 11/9/2023 |
1.0.74 | 94 | 11/9/2023 |
1.0.73 | 696 | 11/7/2023 |
1.0.72 | 395 | 11/6/2023 |
1.0.71 | 359 | 11/3/2023 |
1.0.70 | 401 | 11/2/2023 |
1.0.69 | 664 | 11/1/2023 |
1.0.68 | 844 | 10/26/2023 |
1.0.67 | 680 | 10/19/2023 |
1.0.66 | 237 | 10/18/2023 |
1.0.65 | 559 | 10/17/2023 |
1.0.64 | 693 | 10/16/2023 |
1.0.63 | 525 | 10/13/2023 |
1.0.62 | 574 | 10/12/2023 |
1.0.61 | 1,018 | 9/20/2023 |
1.0.60 | 393 | 9/19/2023 |
1.0.59 | 501 | 9/18/2023 |
1.0.58 | 102 | 9/18/2023 |
1.0.57 | 687 | 9/14/2023 |
1.0.56 | 967 | 8/31/2023 |
1.0.55 | 387 | 8/30/2023 |
1.0.54 | 126 | 8/30/2023 |
1.0.53 | 866 | 8/28/2023 |
1.0.52 | 309 | 8/25/2023 |
1.0.51 | 685 | 8/24/2023 |
1.0.50 | 921 | 8/21/2023 |
1.0.49 | 364 | 8/18/2023 |
1.0.48 | 613 | 8/17/2023 |
1.0.47 | 108 | 8/17/2023 |
1.0.46 | 1,184 | 8/10/2023 |
1.0.45 | 477 | 8/9/2023 |
1.0.44 | 794 | 8/8/2023 |
1.0.43 | 499 | 8/7/2023 |
1.0.42 | 126 | 8/7/2023 |
1.0.41 | 1,172 | 7/13/2023 |
1.0.40 | 862 | 7/11/2023 |
1.0.39 | 597 | 7/10/2023 |
1.0.38 | 700 | 7/7/2023 |
1.0.37 | 149 | 7/7/2023 |
1.0.36 | 1,254 | 6/30/2023 |
1.0.35 | 649 | 6/29/2023 |
1.0.34 | 804 | 6/28/2023 |
1.0.33 | 142 | 6/28/2023 |
1.0.32 | 1,157 | 6/26/2023 |
1.0.31 | 452 | 6/23/2023 |
1.0.30 | 1,122 | 6/21/2023 |
1.0.29 | 1,129 | 6/15/2023 |
1.0.28 | 606 | 6/14/2023 |
1.0.27 | 161 | 6/14/2023 |
1.0.26 | 1,383 | 6/9/2023 |
1.0.25 | 770 | 6/8/2023 |
1.0.24 | 419 | 6/7/2023 |
1.0.23 | 182 | 6/7/2023 |
1.0.22 | 749 | 6/6/2023 |
1.0.21 | 1,326 | 6/5/2023 |
1.0.20 | 413 | 6/2/2023 |
1.0.19 | 151 | 6/2/2023 |
1.0.18 | 855 | 6/1/2023 |
1.0.17 | 300 | 5/31/2023 |
1.0.16 | 1,023 | 5/31/2023 |
1.0.15 | 315 | 5/31/2023 |
1.0.14 | 850 | 5/30/2023 |
1.0.13 | 1,216 | 5/26/2023 |
1.0.12 | 787 | 5/25/2023 |
1.0.11 | 745 | 5/24/2023 |
1.0.10 | 234 | 5/24/2023 |
1.0.8 | 1,034 | 5/23/2023 |
1.0.7 | 348 | 5/22/2023 |
1.0.6 | 1,185 | 5/17/2023 |
1.0.5 | 2,401 | 4/11/2023 |
1.0.4 | 464 | 4/3/2023 |
1.0.3 | 564 | 3/31/2023 |
1.0.2 | 182 | 3/31/2023 |
1.0.1 | 355 | 2/27/2023 |