getOrDefault

inline fun <R> AsyncResult<R>.getOrDefault(default: R): R

Returns the value if the AsyncResult is Success else returns the default value.