Soenneker.Utils.Cancellation 1.0.2

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.2
NuGet\Install-Package Soenneker.Utils.Cancellation -Version 1.0.2
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.2" />
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.2
#r "nuget: Soenneker.Utils.Cancellation, 1.0.2"
#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.2

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

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 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.235 299 6/22/2024
2.1.234 689 6/15/2024
2.1.233 250 6/15/2024
2.1.232 720 6/14/2024
2.1.231 793 6/1/2024
2.1.230 135 6/1/2024
2.1.229 317 6/1/2024
2.1.228 965 5/31/2024
2.1.227 657 5/29/2024
2.1.226 568 5/28/2024
2.1.225 310 5/27/2024
2.1.224 647 5/26/2024
2.1.223 579 5/26/2024
2.1.222 348 5/26/2024
2.1.221 227 5/26/2024
2.1.220 239 5/25/2024
2.1.219 564 5/25/2024
2.1.218 133 5/25/2024
2.1.217 325 5/25/2024
2.1.216 324 5/25/2024
2.1.215 602 5/23/2024
2.1.214 414 5/23/2024
2.1.213 380 5/22/2024
2.1.212 228 5/22/2024
2.1.211 260 5/22/2024
2.1.210 1,037 5/18/2024
2.1.209 450 5/17/2024
2.1.208 244 5/17/2024
2.1.207 576 5/16/2024
2.1.206 169 5/15/2024
2.1.205 701 5/15/2024
2.1.204 758 5/13/2024
2.1.203 886 4/29/2024
2.1.202 222 4/29/2024
2.1.201 738 4/28/2024
2.1.200 248 4/28/2024
2.1.199 141 4/28/2024
2.1.198 520 4/28/2024
2.1.197 185 4/28/2024
2.1.196 323 4/28/2024
2.1.195 224 4/28/2024
2.1.194 452 4/27/2024
2.1.193 641 4/19/2024
2.1.192 822 4/18/2024
2.1.191 649 4/12/2024
2.1.190 414 4/12/2024
2.1.189 235 4/12/2024
2.1.188 245 4/12/2024
2.1.187 377 4/12/2024
2.1.186 271 4/12/2024
2.1.185 347 4/11/2024
2.1.184 422 4/10/2024
2.1.183 299 4/9/2024
2.1.182 721 4/2/2024
2.1.181 269 4/1/2024
2.1.180 492 3/29/2024
2.1.179 480 3/25/2024
2.1.178 206 3/25/2024
2.1.177 623 3/20/2024
2.1.176 602 3/19/2024
2.1.175 308 3/19/2024
2.1.174 450 3/18/2024
2.1.173 718 3/15/2024
2.1.172 472 3/13/2024
2.1.171 210 3/13/2024
2.1.170 507 3/13/2024
2.1.169 216 3/13/2024
2.1.168 93 3/13/2024
2.1.167 490 3/12/2024
2.1.166 358 3/12/2024
2.1.165 545 3/11/2024
2.1.164 535 3/11/2024
2.1.163 540 3/10/2024
2.1.162 506 3/8/2024
2.1.161 227 3/8/2024
2.1.160 429 3/8/2024
2.1.159 643 3/6/2024
2.1.158 502 3/4/2024
2.1.157 518 3/4/2024
2.1.156 470 3/3/2024
2.1.155 431 3/2/2024
2.1.154 167 3/2/2024
2.1.153 409 3/2/2024
2.1.152 122 3/2/2024
2.1.151 444 2/29/2024
2.1.150 146 2/29/2024
2.1.149 420 2/29/2024
2.1.148 625 2/26/2024
2.1.147 299 2/25/2024
2.1.146 332 2/25/2024
2.1.145 1,281 2/23/2024
2.1.144 448 2/22/2024
2.1.143 280 2/22/2024
2.1.142 480 2/21/2024
2.1.141 471 2/21/2024
2.1.140 382 2/21/2024
2.1.139 230 2/21/2024
2.1.138 202 2/21/2024
2.1.137 83 2/21/2024
2.1.136 1,012 2/20/2024
2.1.135 338 2/20/2024
2.1.134 263 2/20/2024
2.1.133 302 2/19/2024
2.1.132 430 2/19/2024
2.1.131 455 2/17/2024
2.1.130 280 2/17/2024
2.1.129 336 2/16/2024
2.1.128 176 2/16/2024
2.1.127 209 2/16/2024
2.1.126 253 2/16/2024
2.1.125 419 2/16/2024
2.1.124 139 2/16/2024
2.1.123 787 2/13/2024
2.1.122 614 2/13/2024
2.1.121 136 2/13/2024
2.1.120 299 2/13/2024
2.1.119 315 2/13/2024
2.1.118 439 2/12/2024
2.1.117 204 2/11/2024
2.1.116 628 2/11/2024
2.1.115 311 2/11/2024
2.1.114 404 2/10/2024
2.1.113 237 2/9/2024
2.1.112 527 2/9/2024
2.1.111 387 2/9/2024
2.1.110 207 2/8/2024
2.1.109 376 2/8/2024
2.1.108 301 2/8/2024
2.1.107 362 2/8/2024
2.1.106 468 2/7/2024
2.1.105 305 2/7/2024
2.1.104 170 2/7/2024
2.1.103 457 2/7/2024
2.1.102 66 2/6/2024
2.1.101 338 2/6/2024
2.1.100 534 2/5/2024
2.1.99 525 2/4/2024
2.1.98 388 2/2/2024
2.1.97 632 1/31/2024
2.1.96 480 1/29/2024
2.1.95 480 1/29/2024
2.1.94 182 1/29/2024
2.1.93 495 1/28/2024
2.1.92 191 1/28/2024
2.1.91 362 1/28/2024
2.1.90 191 1/28/2024
2.1.89 232 1/28/2024
2.1.88 541 1/27/2024
2.1.87 331 1/27/2024
2.1.86 118 1/27/2024
2.1.85 236 1/27/2024
2.1.84 314 1/27/2024
2.1.83 336 1/27/2024
2.1.82 142 1/26/2024
2.1.81 255 1/26/2024
2.1.80 348 1/26/2024
2.1.79 191 1/26/2024
2.1.78 578 1/26/2024
2.1.77 348 1/26/2024
2.1.76 256 1/25/2024
2.1.75 214 1/25/2024
2.1.74 218 1/25/2024
2.1.73 240 1/25/2024
2.1.72 728 1/19/2024
2.1.71 590 1/15/2024
2.1.70 269 1/15/2024
2.1.69 291 1/15/2024
2.1.68 360 1/15/2024
2.1.67 457 1/15/2024
2.1.66 481 1/14/2024
2.1.65 537 1/13/2024
2.1.64 471 1/12/2024
2.1.63 642 1/11/2024
2.1.62 653 1/7/2024
2.1.61 475 1/5/2024
2.1.60 312 1/5/2024
2.1.59 513 1/5/2024
2.1.58 565 1/1/2024
2.1.57 672 12/28/2023
2.1.56 422 12/28/2023
2.1.55 406 12/28/2023
2.1.54 299 12/27/2023
2.1.53 206 12/27/2023
2.1.52 87 12/27/2023
2.1.51 900 12/25/2023
2.1.50 158 12/25/2023
2.1.49 397 12/25/2023
2.1.48 261 12/25/2023
2.1.47 366 12/25/2023
2.1.46 147 12/25/2023
2.1.45 450 12/24/2023
2.1.44 581 12/23/2023
2.1.43 301 12/23/2023
2.1.42 465 12/23/2023
2.1.41 192 12/23/2023
2.1.40 331 12/23/2023
2.1.39 749 12/19/2023
2.1.38 190 12/19/2023
2.1.37 1,229 12/10/2023
2.1.36 499 12/10/2023
2.1.35 843 12/9/2023
2.1.34 389 12/9/2023
2.1.33 462 12/9/2023
2.1.32 748 12/6/2023
2.1.31 630 12/5/2023
2.1.30 376 12/4/2023
2.1.29 177 12/4/2023
2.1.28 350 12/4/2023
2.1.27 811 11/23/2023
2.1.26 335 11/23/2023
2.1.25 358 11/23/2023
2.1.24 229 11/23/2023
2.1.23 477 11/20/2023
2.1.22 412 11/20/2023
2.1.21 379 11/19/2023
2.1.20 218 11/19/2023
2.1.19 411 11/19/2023
2.1.18 238 11/19/2023
2.1.17 480 11/18/2023
2.1.16 326 11/18/2023
2.1.15 225 11/18/2023
2.1.14 335 11/18/2023
2.1.13 442 11/17/2023
2.1.12 81 11/17/2023
2.1.11 388 11/17/2023
2.1.10 320 11/17/2023
2.1.9 254 11/17/2023
2.1.8 207 11/17/2023
2.1.7 410 11/17/2023
2.1.6 242 11/17/2023
2.1.5 154 11/17/2023
2.1.4 496 11/16/2023
2.0.82 641 11/15/2023
2.0.81 87 11/15/2023
2.0.80 83 11/15/2023
2.0.79 171 11/15/2023
2.0.3 93 11/16/2023
2.0.2 93 11/16/2023
2.0.1 89 11/16/2023
1.0.78 367 11/14/2023
1.0.77 645 11/13/2023
1.0.76 523 11/10/2023
1.0.75 441 11/9/2023
1.0.74 93 11/9/2023
1.0.73 695 11/7/2023
1.0.72 394 11/6/2023
1.0.71 358 11/3/2023
1.0.70 400 11/2/2023
1.0.69 663 11/1/2023
1.0.68 843 10/26/2023
1.0.67 679 10/19/2023
1.0.66 236 10/18/2023
1.0.65 558 10/17/2023
1.0.64 692 10/16/2023
1.0.63 524 10/13/2023
1.0.62 573 10/12/2023
1.0.61 1,017 9/20/2023
1.0.60 392 9/19/2023
1.0.59 500 9/18/2023
1.0.58 101 9/18/2023
1.0.57 686 9/14/2023
1.0.56 966 8/31/2023
1.0.55 386 8/30/2023
1.0.54 125 8/30/2023
1.0.53 865 8/28/2023
1.0.52 308 8/25/2023
1.0.51 684 8/24/2023
1.0.50 920 8/21/2023
1.0.49 363 8/18/2023
1.0.48 612 8/17/2023
1.0.47 107 8/17/2023
1.0.46 1,183 8/10/2023
1.0.45 476 8/9/2023
1.0.44 793 8/8/2023
1.0.43 498 8/7/2023
1.0.42 125 8/7/2023
1.0.41 1,171 7/13/2023
1.0.40 861 7/11/2023
1.0.39 596 7/10/2023
1.0.38 699 7/7/2023
1.0.37 148 7/7/2023
1.0.36 1,253 6/30/2023
1.0.35 647 6/29/2023
1.0.34 803 6/28/2023
1.0.33 141 6/28/2023
1.0.32 1,156 6/26/2023
1.0.31 451 6/23/2023
1.0.30 1,121 6/21/2023
1.0.29 1,128 6/15/2023
1.0.28 605 6/14/2023
1.0.27 160 6/14/2023
1.0.26 1,382 6/9/2023
1.0.25 769 6/8/2023
1.0.24 418 6/7/2023
1.0.23 181 6/7/2023
1.0.22 748 6/6/2023
1.0.21 1,325 6/5/2023
1.0.20 412 6/2/2023
1.0.19 150 6/2/2023
1.0.18 854 6/1/2023
1.0.17 299 5/31/2023
1.0.16 1,022 5/31/2023
1.0.15 314 5/31/2023
1.0.14 849 5/30/2023
1.0.13 1,215 5/26/2023
1.0.12 786 5/25/2023
1.0.11 744 5/24/2023
1.0.10 233 5/24/2023
1.0.8 1,033 5/23/2023
1.0.7 347 5/22/2023
1.0.6 1,184 5/17/2023
1.0.5 2,400 4/11/2023
1.0.4 463 4/3/2023
1.0.3 563 3/31/2023
1.0.2 181 3/31/2023
1.0.1 354 2/27/2023