You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,9 @@ runPar (f <$> Par (Ajax.get "http://foo.com") <*> Par (Ajax.get "http://foo.com"
206
206
207
207
The `(<|>)` operator of the `Alt` instance of `Par` allows you to race two asynchronous computations, and use whichever value comes back first (or the first error, if both err).
208
208
209
-
Finally, the `runPar` function allows you to unwrap the `Aff` and return to normal monadic (sequential) composition.
209
+
The `runPar` function allows you to unwrap the `Aff` and return to normal monadic (sequential) composition.
210
+
211
+
A parallel computation can be canceled if both of its individual components can be canceled.
0 commit comments