suspend fun <reified T : Any> ClientResponse.awaitEntityList(): ResponseEntity<List<T>>
Coroutines variant of ClientResponse.toEntityList.
Author
Sebastien Deleuze
Since
5.2
suspend fun <T : Any> ClientResponse.awaitEntityList(clazz: KClass<T>): ResponseEntity<List<T>>
KClass coroutines variant of ClientResponse.toEntityList.
Please consider awaitEntityList<Foo> variant if possible.
Author
Igor Manushin
Since
5.3