- Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
Milestone
Description
Hi,
I think in case of (sequential) collections this code
for (x ← xs){... async ... }could be rewritten into
valit= xs.iterator while (it.hasNext){valx= it.next() ... async ... }thus relaxing the restriction regarding async inside closures. It only saves a few lines, but looks more idiomatic. What do you think?
jyotman, a14e and jeremyliseismic