codelab-kotlin-coroutines
codelab-kotlin-coroutines copied to clipboard
Mistake in Codelab
trafficstars
In the 9th section "Coroutines in Room & Retrofit" the paragraph about adding Coroutines to Retrofit says:
If you still wanted to provide access to retrofit's full
Result, you can returnResult<String>instead of String from the suspend function.
That's a mistake, there's no Result<T> in Retrofit, it should be Response<String>.