Last active
October 15, 2018 05:23
-
-
Save dbrattli/004a7cc00026d52ec590ae15eb48394b to your computer and use it in GitHub Desktop.
Promise Computational Expression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let pr = promise { | |
let! res1 = fetch "http://test1" | |
let! res2 = fetch "http://test2" | |
let! res3 = fetch "http://test3" | |
let! res4 = fetch "http://test3" | |
return res4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment