After filing an issue with corefx, the documentation remarks have been updated to make this a guaranteed feature:
You can also use the C#
default(CancellationToken)
statement to create an empty cancellation token.
After filing an issue with corefx, the documentation remarks have been updated to make this a guaranteed feature:
You can also use the C#
default(CancellationToken)
statement to create an empty cancellation token.