AsyncResult
Toggle table of contents
0.1.14
common
Target filter
common
Switch theme
Search in API
Skip to content
AsyncResult
asyncresult
/
io.nlopez.asyncresult
/
getOrDefault
get
Or
Default
inline
fun
<
R
>
AsyncResult
<
R
>
.
getOrDefault
(
default
:
R
)
:
R
Returns the value if the
AsyncResult
is
Success
else returns the
default
value.