toggle menu
micro_utils.dokka
0.22.3
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
invokeOnFirst
invoke
On
First
suspend
fun
<
T
,
O
>
Iterable
<
Deferred
<
T
>
>
.
invokeOnFirst
(
scope
:
CoroutineScope
,
cancelOnResult
:
Boolean
=
true
,
callback
:
suspend
(
T
)
->
O
)
:
O
(
source
)
suspend
fun
<
T
,
O
>
invokeOnFirst
(
scope
:
CoroutineScope
,
vararg
variants
:
Deferred
<
T
>
,
cancelOnResult
:
Boolean
=
true
,
callback
:
suspend
(
T
)
->
O
)
:
O
(
source
)