Last active
September 15, 2017 09:13
-
-
Save jonjack/9bdb70d717aafb1adfe2e79c8b6a9905 to your computer and use it in GitHub Desktop.
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
// 3 sequential async calls | |
for { | |
aaa <- WS.url("http://aaa.com").get() | |
bbb <- WS.url("http://bbb.com").get() | |
ccc <- WS.url("http://ccc.com").get() | |
} yield { | |
// Construct th result using aaa, bbb, and ccc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment