(
Size: a a a
(
I
VP
(
(
.await()
писатьVP
VP
(
(
scope {
val a = async { ... }.await()
val b = async { ... }.await()
...
}
VP
(
Selective
I
fun <A, B> combine(a: Deferred<A>, b: Deferred<B>): Pair<A, B>
и так до 22fun <A, B> Deferred<A>.with(b: suspend () -> B): Deferred<Pair<A, B>> = TODO()
val ((a, b), c) = …
уже не получится(
fun <A, B> Deferred<A>.with(b: suspend () -> B): Deferred<Pair<A, B>> = TODO()
val ((a, b), c) = …
уже не получитсяparMapN
(
fun <A, B> Deferred<A>.with(b: suspend () -> B): Deferred<Pair<A, B>> = TODO()
val ((a, b), c) = …
уже не получитсяI
parMapN
(
(
(
AO
AM