Closed bartelink closed 2 years ago
NOTE there are two behavior changes here:
task.IsCancelled
now triggers a different exception (TaskCanceledException
, was OperationCanceledException
)task.IsCancelled
triggers the ee
exception continuation, rather than the ec
cancellation oneRan this past @eiriktsarpalis; he confirmed there is no useful variation in the impl herein
ASIDE: Having a immediate release for this is not critical for me as I'm comfortable there is no consequential behavior change that I need - hopefully I'll get around to doing cleanup on TransactWriteItems
and it can accompany that on the train
In isolating https://github.com/dotnet/fsharp/issues/13165, the fact that the
AwaitTaskCorrect
impl herein predates the current fsssnip edition, and that thetask.InnerException
is subtle led me down additional paths that would be nice to avoid, especially given that ultimately there should be convergence in the implementations via https://github.com/fsharp/fslang-suggestions/issues/840.