micro_utils.dokka
0.18.0
common
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
awaitFirst
await
First
suspend
fun
<
T
>
Iterable
<
Deferred
<
T
>
>
.
awaitFirst
(
scope
:
CoroutineScope
,
cancelOnResult
:
Boolean
=
true
)
:
T
suspend
fun
<
T
>
Iterable
<
Deferred
<
T
>
>
.
awaitFirst
(
cancelOthers
:
Boolean
=
true
)
:
T