BrighterCommand/Docs

CancellationToken is a struct

Closed this issue · 2 comments

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.

OK it should be using default(CancellationToken). We should fix it.

Fixed