---
title: "Discussion on \"Cancellation tokens with MediatR and  .Net\" | Hashnode"
description: "Discussion on \"Cancellation tokens with MediatR and  .Net\". When we start to code using the CQRS pattern with mediatR library you can see that our handlers (queries and commands) always implement the handle method with a parameter called cancellationToken of type  System.Threading.CancellationToken.\n public a..."
url: "https://hashnode.com/posts/cancellation-tokens-with-mediatr-and-net/603be7d70dad7e6b99e217fc"
---

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

Discussion

# [Cancellation tokens with MediatR and .Net](https://alexulag.hashnode.dev/cancellation-tokens-with-mediatr-and-net?utm_source=hashnode&utm_medium=feed)

When we start to code using the CQRS pattern with mediatR library you can see that our handlers (queries and commands) always implement the handle method with a parameter called cancellationToken of type System.Threading.CancellationToken. public a...

Feb 28, 2021 · 2 min read · alexulag.hashnode.dev  
Read the article

-   [#net](https://hashnode.com/tag/net)
-   [#aspnet](https://hashnode.com/tag/aspnet)
-   [#net-core](https://hashnode.com/tag/net-core)

## Written by

[John Ubaque](https://hashnode.com/@alexulag)

@alexulag · Bogota CO

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

Developer

I am a software engineer from Colombia, with experience in c# and Golang

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
