Skip to content

Commit

Permalink
Update docs/fsharp-cheatsheet.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ruben Bartelink <[email protected]>
  • Loading branch information
SpiralOSS and bartelink authored Jul 10, 2024
1 parent db96502 commit 2b78e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/fsharp-cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ The `Async` module has a number of functions to compose and start computations.
| Async.Sequential | Composes a new computation from multiple computations, `Async<'T> seq`, and runs them in series; it returns all the results in an array `Async<'T[]>` |
| Async.Choice | Composes a new computation from multiple computations, `Async<'T option> seq`, and returns the first where `'T'` is `Some value` (all others running are canceled). If all computations return `None` then the result is `None` |

For all functions that compose a new computation from children, if any child computations raise an exception, then the overall computation will trigger an exception. All computations that were started will receive a cancellation request.
For all functions that compose a new computation from children, if any child computations raise an exception, then the overall computation will trigger an exception. The `CancellationToken` passed to the child computations will be triggered, and execution continues when all running children have cancelled execution.

#### Executing

Expand Down

0 comments on commit 2b78e2d

Please sign in to comment.