---
title: "Discussion on \"5 Recommended Patterns When  Using Cancellation Token in .NET\" | Hashnode"
description: "Discussion on \"5 Recommended Patterns When  Using Cancellation Token in .NET\". Are you passing around the CancellationToken to all your functions blindly?\nStop using Cancellation Tokens the wrong way in .NET!\nCancellationTokens in .NET allows the caller to express lost interest in the result of an operation. This can be at a Fu..."
url: "https://hashnode.com/posts/5-recommended-patterns-when-using-cancellation-token-in-net/660cd5c4067396de6adfba27"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [5 Recommended Patterns When Using Cancellation Token in .NET](https://rahulpnath.hashnode.dev/5-recommended-patterns-when-using-cancellation-token-in-net?utm_source=hashnode&utm_medium=feed)

Are you passing around the CancellationToken to all your functions blindly? Stop using Cancellation Tokens the wrong way in .NET! CancellationTokens in .NET allows the caller to express lost interest in the result of an operation. This can be at a Fu...

Apr 3, 2024 · 6 min read · rahulpnath.hashnode.dev  
Read the article

-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)
-   [#csharp](https://hashnode.com/tag/csharp)

## Written by

[Rahul Nath](https://hashnode.com/@rahulpnath)

@rahulpnath · Brisbane, Australia

  
[View profile](https://hashnode.com/@rahulpnath)

I code, write, and teach .NET | Tech YouTuber & Content Creator with a Full Time Job

I code, write, and teach .NET | Tech YouTuber &amp; Content Creator with a Full Time Job

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
