An open API service indexing awesome lists of open source software.

https://github.com/amirdoosti6060/cancellationtokendemo

An example to show how to use CancellationToken in different scenarios.
https://github.com/amirdoosti6060/cancellationtokendemo

async cancellation cancellationtoken longrunning task

Last synced: 8 months ago
JSON representation

An example to show how to use CancellationToken in different scenarios.

Awesome Lists containing this project

README

          

# CancellationToken

## Introduction
This solution shows how to use **CancellationToken** in C#.
I've also written an article to explain CancellationToken in details. You can find it here in my LinkedIn:
https://www.linkedin.com/pulse/cancellationtoken-c-amir-doosti-vmjjf

## Structure of soution
The solution contains a Console App project which are written in Visual Studio.

## Technology stack
- OS: Windows 10 Enterprise - 64 bits
- IDE: Visual Studio Enterprise 2022 (64 bits) - version 17.2.5
- Framework: .Net 8
- Language: C#

## How to run
Open the solution in Visual Studio and run it using F5.