Ifvwm
01/22/2021, 9:33 AMfun f () {
val result = async { ktor-client-function... return@async 1 }
return result
}
allan.conda
01/22/2021, 9:37 AMrunBlocking
, not that I recommend itallan.conda
01/22/2021, 9:37 AMallan.conda
01/22/2021, 9:37 AMIfvwm
01/22/2021, 9:40 AMallan.conda
01/22/2021, 9:42 AMalbertosh
01/22/2021, 10:03 AMf
function suspended and do the runBlocking
at the beginning of your programIfvwm
01/22/2021, 10:23 AMallan.conda
01/22/2021, 10:30 AMallan.conda
01/22/2021, 10:30 AMallan.conda
01/22/2021, 10:31 AMIfvwm
01/22/2021, 10:32 AMIfvwm
01/22/2021, 10:32 AMallan.conda
01/22/2021, 10:33 AMallan.conda
01/22/2021, 10:38 AMallan.conda
01/22/2021, 10:39 AMallan.conda
01/22/2021, 10:41 AM