To elaborate, a nice thing about Iced is the simplicity, even inside flow logic, to refactor async code.
# serial
for uid, i in uids
await load_user uid, defer users[i]
All I do is move the await: # concurrent
await for uid, i in uids
load_user uid, defer users[i]
As you can imagine, this would be radically different JavaScript, yet it's (1) easy to read Coffee, (2) easy to refactor, and (3) runs on any browser.The ES6 stuff is new, and I can't use it because I'm writing for both Node and the browser, but can someone tell me how the above refactor would go?