`val (res1, res2) = awaitBoth(compute(x), compute(...

# coroutinesp

pniederw

12/22/2016, 10:57 AM`val (res1, res2) = awaitBoth(compute(x), compute(y))`

is much nicer than `val f1 = compute(x); val f2 = compute(y); res1 = await(f1); res2 = await(f2)`