toggle menu
micro_utils.dokka
0.21.3
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
invokeOnFirstOf
invoke
On
First
Of
suspend
fun
<
T
,
O
>
CoroutineScope
.
invokeOnFirstOf
(
cancelOnResult
:
Boolean
=
true
,
block
:
DoWithFirstBuilder
<
T
>
.
(
)
->
Unit
,
callback
:
suspend
(
T
)
->
O
)
:
O
(
source
)