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.
- Host: GitHub
- URL: https://github.com/amirdoosti6060/cancellationtokendemo
- Owner: amirdoosti6060
- Created: 2024-08-25T06:45:07.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-25T07:23:02.000Z (about 1 year ago)
- Last Synced: 2025-01-23T18:47:15.522Z (9 months ago)
- Topics: async, cancellation, cancellationtoken, longrunning, task
- Language: C#
- Homepage: https://www.linkedin.com/pulse/cancellationtoken-c-amir-doosti-vmjjf
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.