CancellationToken is a struct
Closed this issue · 2 comments
SBFrancies commented
From https://github.com/BrighterCommand/Docs/blob/master/contents/AsyncDispatchARequest.md:
The asynchronous methods: SendAsync, PublishAsync, and PostAsync all accept a CancellationTokenand pass this token down the pipeline. The parameter defaults to null where the call does not intend to cancel.
CancellationToken a struct so this isn't the case.
iancooper commented
OK it should be using default(CancellationToken). We should fix it.
iancooper commented
Fixed