toggle menu
micro_utils.dokka
0.20.26
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
safelyWithResult
safely
With
Result
inline suspend
fun
<
T
>
safelyWithResult
(
noinline
block
:
suspend
CoroutineScope
.
(
)
->
T
)
:
Result
<
T
>
(
source
)
inline suspend
fun
<
T
,
R
>
T
.
safelyWithResult
(
noinline
block
:
suspend
T
.
(
)
->
R
)
:
Result
<
R
>
(
source
)