Fuel offer this style of async http get request: `...
# announcements
v
Fuel offer this style of async http get request:
Copy code
"<http://httpbin.org/get>".httpGet().responseString { request, response, result ->
	//do something with response
	when (result) {
        is Result.Failure -> {
            error = result.getAs()
        }
        is Result.Success -> {
            data = result.getAs()
        }
    }
}
it does not seem to work nicely with coroutines. Any ideas?