Giulio
03/11/2018, 12:06 AMresponseBody = myTask.get();
into an async callback?dave08
03/11/2018, 3:24 AMasync{ myTask.get() }
should put it into a CommonPool thread and return a Deferred with the response body, and then you can call await to get it from inside any coroutine (which is like a callback but much more powerful...). You can see the guide for more detailsGiulio
03/11/2018, 11:14 AM