meshtastic-sdk
Toggle table of contents
0.1.1-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
meshtastic-sdk
core
/
org.meshtastic.sdk
/
onFailure
on
Failure
inline
fun
<
T
>
AdminResult
<
T
>
.
onFailure
(
action
:
(
AdminResult
<
T
>
)
->
Unit
)
:
AdminResult
<
T
>
(
source
)
Performs
action
if this is not a Success. Returns the original result for chaining.