The snippet implements Async.Choice method that takes several workflows and creates a workflow, which returns the first result that was computed. After a workflow completes, remaining workflows are cancelled using the F# async cancellation mechanism. (The method doesn't handle exceptions.)
7 people like thisPosted: 13 years ago by Tomas Petricek
Computation builder for writing non-deterministic computations.
8 people like thisPosted: 13 years ago by Tomas Petricek
Non-deterministic choice operation for F# asynchronous workflows - creates a workflow that returns the result of one of two asynchronous workflows, depending on which completes first. (The other workflow is not cancelled.)
4 people like thisPosted: 13 years ago by Tomas Petricek
A simple extension method for asynchronous non-deterministic computations.
4 people like thisPosted: 12 years ago by Nick Palladinos