toggle menu
Karith
0.2.0
common
switch theme
search in API
Karith
/
com.skyecodes.karith
/
KthResult
/
onSuccess
on
Success
open
fun
onSuccess
(
block
:
(
T
)
->
Unit
)
:
KthResult
<
T
,
E
>
Executes a block of code when the result is
Success
, otherwise does nothing.
Parameters
block
The block to execute.