We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentbfec6a4 commitb76fa9fCopy full SHA for b76fa9f
src/fsharp/FSharp.Core/control.fs
@@ -381,20 +381,6 @@ namespace Microsoft.FSharp.Control
381
letedi= ExceptionDispatchInfo.RestoreOrCapture(exn)
382
ctxt.CallExceptionContinuation edi
383
384
-/// Reify exceptional results as exceptions
385
-letcommit res=
386
-match reswith
387
-| AsyncResult.Ok res-> res
388
-| AsyncResult.Error edi-> edi.ThrowAny()
389
-| AsyncResult.Canceled exn-> raise exn
390
-
391
-// Reify exceptional results as exceptionsJIT 64 doesn't always take tailcalls correctly
392
393
-letcommitWithPossibleTimeout res=
394
395
-| None-> raise(System.TimeoutException())
396
-| Some res-> commit res
397
398
/// Make an initial ctxt and execute the async computation.
399
letstartA cancellationToken trampolineHolder cont econt ccont computation=
400
letctxt={ cont= cont; aux={ token= cancellationToken; econt= econt; ccont= ccont; trampolineHolder= trampolineHolder}}