The program invokes the asynchronous ComputeNumber method twice. First by Task methods directly, second using FromAsync Rx method. In the first execution with Task, the CancellationToken registered callback is not called. But in the second
execution with Rx it is, which makes no sense to me. The computation is not canceled, so why is that? Is it meant as some kind of cleaning up?
Is this inconsistency intentional? Or am I missing something?