I have some async code that I would like to add a CancellationToken to. However, there are many implementations where this is not needed so I would like to have a d
CancellationToken
Newer versions of C# allow for a simplified syntax for the default(CancellationToken) version. E.g.:
Task DoStuff(...., CancellationToken ct = default)