kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
result
/
com.siddharth.kmp.result
/
onSuccess
on
Success
inline
fun
<
D
,
E
>
Result
<
D
,
E
>
.
onSuccess
(
action
:
(
D
)
->
Unit
)
:
Result
<
D
,
E
>
Run
action
on success, returning the receiver for chaining.