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.
public a...
alexulag.hashnode.dev2 min read