updateOnSuccess

inline fun <T> Result<T>.updateOnSuccess(liveData: Any)

Deprecated

Deprecated

Replace with

Use [Result<*>.data] instead

Updates the value of liveData if Result is of type Result.Success.