Using retrofit and a converter as below, does deserialization happen on a background thread by default? I am trying to figure out if specifying Dispatchers.IO is an unnecessary context switch.
Copy code
interface Service {
@GET("/food")
suspend fun getFood(): Food
}
val food = withContext(Dispatchers.IO) { service.getFood() }
OR
val food = service.getFood()