micro_utils.dokka
0.17.1
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