Hi everybody, is it possible to execute a blocking IO operation (such as HTTP GET request) in a coroutine and make it suspend instead of blocking the thread?
d
dave08
10/29/2017, 2:43 AM
I think the vert.x client is non blocking, maybe you can use that together with coroutines. If youre in android, Koush/Ion has support for coroutines (but i dont know if it also needs 1 thread per request... it does use callbacks for response).