Soenneker.Utils.Cancellation 1.0.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.Cancellation --version 1.0.1
NuGet\Install-Package Soenneker.Utils.Cancellation -Version 1.0.1
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="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.Cancellation --version 1.0.1
#r "nuget: Soenneker.Utils.Cancellation, 1.0.1"
#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=1.0.1

// Install Soenneker.Utils.Cancellation as a Cake Tool
#tool nuget:?package=Soenneker.Utils.Cancellation&version=1.0.1

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Utils.Cancellation

A utility library allowing for easy CancellationToken usage

Installation

Install-Package Soenneker.Utils.Cancellation

Usage

  1. Register the interop within DI (Program.cs).
public static async Task Main(string[] args)
{
    ...
    builder.Services.AddCancellationUtil();
}
  1. Inject ICancellationUtil where you wish to set the CancellationToken (typically from an API Controller)
_cancellationUtil.Set(cancellationToken);
  1. Inject ICancellationUtil where you wish to retrieve the CancellationToken (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 Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Soenneker.Utils.Cancellation:

Package Downloads
Soenneker.Cosmos.Repository The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A data persistence abstraction layer for Cosmos DB

Soenneker.Blob.Download The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A utility library for Azure Blob download operations

Soenneker.Blob.Fetch The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A utility library for Azure Blob fetch (metadata) operations

Soenneker.Coordinators.Base The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.203 506 4/29/2024
2.1.202 215 4/29/2024
2.1.201 728 4/28/2024
2.1.200 241 4/28/2024
2.1.199 130 4/28/2024
2.1.198 505 4/28/2024
2.1.197 181 4/28/2024
2.1.196 319 4/28/2024
2.1.195 220 4/28/2024
2.1.194 448 4/27/2024
2.1.193 639 4/19/2024
2.1.192 820 4/18/2024
2.1.191 645 4/12/2024
2.1.190 412 4/12/2024
2.1.189 233 4/12/2024
2.1.188 243 4/12/2024
2.1.187 369 4/12/2024
2.1.186 270 4/12/2024
2.1.185 346 4/11/2024
2.1.184 421 4/10/2024
2.1.183 298 4/9/2024
2.1.182 720 4/2/2024
2.1.181 268 4/1/2024
2.1.180 490 3/29/2024
2.1.179 479 3/25/2024
2.1.178 205 3/25/2024
2.1.177 622 3/20/2024
2.1.176 601 3/19/2024
2.1.175 307 3/19/2024
2.1.174 449 3/18/2024
2.1.173 717 3/15/2024
2.1.172 471 3/13/2024
2.1.171 209 3/13/2024
2.1.170 506 3/13/2024
2.1.169 215 3/13/2024
2.1.168 92 3/13/2024
2.1.167 483 3/12/2024
2.1.166 357 3/12/2024
2.1.165 544 3/11/2024
2.1.164 534 3/11/2024
2.1.163 539 3/10/2024
2.1.162 505 3/8/2024
2.1.161 226 3/8/2024
2.1.160 428 3/8/2024
2.1.159 642 3/6/2024
2.1.158 497 3/4/2024
2.1.157 511 3/4/2024
2.1.156 469 3/3/2024
2.1.155 430 3/2/2024
2.1.154 166 3/2/2024
2.1.153 408 3/2/2024
2.1.152 121 3/2/2024
2.1.151 442 2/29/2024
2.1.150 145 2/29/2024
2.1.149 419 2/29/2024
2.1.148 624 2/26/2024
2.1.147 298 2/25/2024
2.1.146 331 2/25/2024
2.1.145 1,278 2/23/2024
2.1.144 447 2/22/2024
2.1.143 279 2/22/2024
2.1.142 479 2/21/2024
2.1.141 470 2/21/2024
2.1.140 381 2/21/2024
2.1.139 229 2/21/2024
2.1.138 201 2/21/2024
2.1.137 82 2/21/2024
2.1.136 1,011 2/20/2024
2.1.135 337 2/20/2024
2.1.134 256 2/20/2024
2.1.133 301 2/19/2024
2.1.132 429 2/19/2024
2.1.131 454 2/17/2024
2.1.130 279 2/17/2024
2.1.129 335 2/16/2024
2.1.128 175 2/16/2024
2.1.127 202 2/16/2024
2.1.126 252 2/16/2024
2.1.125 418 2/16/2024
2.1.124 138 2/16/2024
2.1.123 786 2/13/2024
2.1.122 613 2/13/2024
2.1.121 135 2/13/2024
2.1.120 298 2/13/2024
2.1.119 314 2/13/2024
2.1.118 438 2/12/2024
2.1.117 203 2/11/2024
2.1.116 627 2/11/2024
2.1.115 310 2/11/2024
2.1.114 403 2/10/2024
2.1.113 236 2/9/2024
2.1.112 526 2/9/2024
2.1.111 386 2/9/2024
2.1.110 205 2/8/2024
2.1.109 374 2/8/2024
2.1.108 300 2/8/2024
2.1.107 360 2/8/2024
2.1.106 466 2/7/2024
2.1.105 301 2/7/2024
2.1.104 168 2/7/2024
2.1.103 456 2/7/2024
2.1.102 65 2/6/2024
2.1.101 337 2/6/2024
2.1.100 533 2/5/2024
2.1.99 524 2/4/2024
2.1.98 387 2/2/2024
2.1.97 630 1/31/2024
2.1.96 479 1/29/2024
2.1.95 479 1/29/2024
2.1.94 181 1/29/2024
2.1.93 494 1/28/2024
2.1.92 190 1/28/2024
2.1.91 361 1/28/2024
2.1.90 189 1/28/2024
2.1.89 230 1/28/2024
2.1.88 539 1/27/2024
2.1.87 329 1/27/2024
2.1.86 116 1/27/2024
2.1.85 234 1/27/2024
2.1.84 312 1/27/2024
2.1.83 334 1/27/2024
2.1.82 140 1/26/2024
2.1.81 253 1/26/2024
2.1.80 346 1/26/2024
2.1.79 184 1/26/2024
2.1.78 576 1/26/2024
2.1.77 346 1/26/2024
2.1.76 254 1/25/2024
2.1.75 213 1/25/2024
2.1.74 217 1/25/2024
2.1.73 239 1/25/2024
2.1.72 725 1/19/2024
2.1.71 589 1/15/2024
2.1.70 268 1/15/2024
2.1.69 290 1/15/2024
2.1.68 359 1/15/2024
2.1.67 456 1/15/2024
2.1.66 480 1/14/2024
2.1.65 536 1/13/2024
2.1.64 470 1/12/2024
2.1.63 641 1/11/2024
2.1.62 652 1/7/2024
2.1.61 474 1/5/2024
2.1.60 311 1/5/2024
2.1.59 512 1/5/2024
2.1.58 564 1/1/2024
2.1.57 670 12/28/2023
2.1.56 421 12/28/2023
2.1.55 405 12/28/2023
2.1.54 298 12/27/2023
2.1.53 205 12/27/2023
2.1.52 86 12/27/2023
2.1.51 899 12/25/2023
2.1.50 157 12/25/2023
2.1.49 390 12/25/2023
2.1.48 260 12/25/2023
2.1.47 365 12/25/2023
2.1.46 146 12/25/2023
2.1.45 449 12/24/2023
2.1.44 580 12/23/2023
2.1.43 300 12/23/2023
2.1.42 464 12/23/2023
2.1.41 191 12/23/2023
2.1.40 330 12/23/2023
2.1.39 748 12/19/2023
2.1.38 189 12/19/2023
2.1.37 1,226 12/10/2023
2.1.36 498 12/10/2023
2.1.35 836 12/9/2023
2.1.34 388 12/9/2023
2.1.33 461 12/9/2023
2.1.32 747 12/6/2023
2.1.31 629 12/5/2023
2.1.30 375 12/4/2023
2.1.29 176 12/4/2023
2.1.28 349 12/4/2023
2.1.27 804 11/23/2023
2.1.26 334 11/23/2023
2.1.25 357 11/23/2023
2.1.24 228 11/23/2023
2.1.23 476 11/20/2023
2.1.22 411 11/20/2023
2.1.21 378 11/19/2023
2.1.20 217 11/19/2023
2.1.19 410 11/19/2023
2.1.18 237 11/19/2023
2.1.17 479 11/18/2023
2.1.16 325 11/18/2023
2.1.15 224 11/18/2023
2.1.14 334 11/18/2023
2.1.13 441 11/17/2023
2.1.12 74 11/17/2023
2.1.11 387 11/17/2023
2.1.10 319 11/17/2023
2.1.9 253 11/17/2023
2.1.8 206 11/17/2023
2.1.7 409 11/17/2023
2.1.6 241 11/17/2023
2.1.5 147 11/17/2023
2.1.4 495 11/16/2023
2.0.82 639 11/15/2023
2.0.81 86 11/15/2023
2.0.80 82 11/15/2023
2.0.79 170 11/15/2023
2.0.3 92 11/16/2023
2.0.2 92 11/16/2023
2.0.1 88 11/16/2023
1.0.78 360 11/14/2023
1.0.77 644 11/13/2023
1.0.76 522 11/10/2023
1.0.75 440 11/9/2023
1.0.74 92 11/9/2023
1.0.73 694 11/7/2023
1.0.72 393 11/6/2023
1.0.71 357 11/3/2023
1.0.70 399 11/2/2023
1.0.69 662 11/1/2023
1.0.68 839 10/26/2023
1.0.67 678 10/19/2023
1.0.66 235 10/18/2023
1.0.65 557 10/17/2023
1.0.64 691 10/16/2023
1.0.63 523 10/13/2023
1.0.62 571 10/12/2023
1.0.61 1,014 9/20/2023
1.0.60 391 9/19/2023
1.0.59 499 9/18/2023
1.0.58 100 9/18/2023
1.0.57 685 9/14/2023
1.0.56 964 8/31/2023
1.0.55 385 8/30/2023
1.0.54 124 8/30/2023
1.0.53 864 8/28/2023
1.0.52 307 8/25/2023
1.0.51 683 8/24/2023
1.0.50 919 8/21/2023
1.0.49 357 8/18/2023
1.0.48 611 8/17/2023
1.0.47 106 8/17/2023
1.0.46 1,182 8/10/2023
1.0.45 475 8/9/2023
1.0.44 792 8/8/2023
1.0.43 497 8/7/2023
1.0.42 124 8/7/2023
1.0.41 1,169 7/13/2023
1.0.40 860 7/11/2023
1.0.39 595 7/10/2023
1.0.38 698 7/7/2023
1.0.37 147 7/7/2023
1.0.36 1,251 6/30/2023
1.0.35 646 6/29/2023
1.0.34 802 6/28/2023
1.0.33 140 6/28/2023
1.0.32 1,155 6/26/2023
1.0.31 450 6/23/2023
1.0.30 1,120 6/21/2023
1.0.29 1,127 6/15/2023
1.0.28 604 6/14/2023
1.0.27 159 6/14/2023
1.0.26 1,381 6/9/2023
1.0.25 768 6/8/2023
1.0.24 417 6/7/2023
1.0.23 180 6/7/2023
1.0.22 747 6/6/2023
1.0.21 1,324 6/5/2023
1.0.20 411 6/2/2023
1.0.19 144 6/2/2023
1.0.18 853 6/1/2023
1.0.17 297 5/31/2023
1.0.16 1,021 5/31/2023
1.0.15 313 5/31/2023
1.0.14 848 5/30/2023
1.0.13 1,214 5/26/2023
1.0.12 785 5/25/2023
1.0.11 743 5/24/2023
1.0.10 232 5/24/2023
1.0.8 1,032 5/23/2023
1.0.7 346 5/22/2023
1.0.6 1,183 5/17/2023
1.0.5 2,396 4/11/2023
1.0.4 462 4/3/2023
1.0.3 554 3/31/2023
1.0.2 180 3/31/2023
1.0.1 352 2/27/2023