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.237 0 7/3/2024
2.1.236 0 7/3/2024
2.1.235 951 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 628 2/26/2024
2.1.147 302 2/25/2024
2.1.146 335 2/25/2024
2.1.145 1,284 2/23/2024
2.1.144 451 2/22/2024
2.1.143 283 2/22/2024
2.1.142 483 2/21/2024
2.1.141 474 2/21/2024
2.1.140 385 2/21/2024
2.1.139 233 2/21/2024
2.1.138 204 2/21/2024
2.1.137 86 2/21/2024
2.1.136 1,015 2/20/2024
2.1.135 341 2/20/2024
2.1.134 266 2/20/2024
2.1.133 305 2/19/2024
2.1.132 433 2/19/2024
2.1.131 458 2/17/2024
2.1.130 289 2/17/2024
2.1.129 338 2/16/2024
2.1.128 178 2/16/2024
2.1.127 212 2/16/2024
2.1.126 256 2/16/2024
2.1.125 420 2/16/2024
2.1.124 141 2/16/2024
2.1.123 788 2/13/2024
2.1.122 616 2/13/2024
2.1.121 138 2/13/2024
2.1.120 301 2/13/2024
2.1.119 317 2/13/2024
2.1.118 441 2/12/2024
2.1.117 206 2/11/2024
2.1.116 630 2/11/2024
2.1.115 313 2/11/2024
2.1.114 406 2/10/2024
2.1.113 239 2/9/2024
2.1.112 529 2/9/2024
2.1.111 389 2/9/2024
2.1.110 209 2/8/2024
2.1.109 378 2/8/2024
2.1.108 303 2/8/2024
2.1.107 364 2/8/2024
2.1.106 470 2/7/2024
2.1.105 307 2/7/2024
2.1.104 172 2/7/2024
2.1.103 459 2/7/2024
2.1.102 68 2/6/2024
2.1.101 340 2/6/2024
2.1.100 536 2/5/2024
2.1.99 527 2/4/2024
2.1.98 390 2/2/2024
2.1.97 636 1/31/2024
2.1.96 484 1/29/2024
2.1.95 485 1/29/2024
2.1.94 187 1/29/2024
2.1.93 500 1/28/2024
2.1.92 196 1/28/2024
2.1.91 367 1/28/2024
2.1.90 195 1/28/2024
2.1.89 236 1/28/2024
2.1.88 545 1/27/2024
2.1.87 335 1/27/2024
2.1.86 122 1/27/2024
2.1.85 240 1/27/2024
2.1.84 318 1/27/2024
2.1.83 340 1/27/2024
2.1.82 146 1/26/2024
2.1.81 259 1/26/2024
2.1.80 352 1/26/2024
2.1.79 195 1/26/2024
2.1.78 582 1/26/2024
2.1.77 352 1/26/2024
2.1.76 260 1/25/2024
2.1.75 218 1/25/2024
2.1.74 222 1/25/2024
2.1.73 243 1/25/2024
2.1.72 732 1/19/2024
2.1.71 594 1/15/2024
2.1.70 273 1/15/2024
2.1.69 295 1/15/2024
2.1.68 364 1/15/2024
2.1.67 461 1/15/2024
2.1.66 485 1/14/2024
2.1.65 541 1/13/2024
2.1.64 475 1/12/2024
2.1.63 644 1/11/2024
2.1.62 657 1/7/2024
2.1.61 479 1/5/2024
2.1.60 316 1/5/2024
2.1.59 517 1/5/2024
2.1.58 569 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