https://kotlinlang.org logo
d

dave08

09/26/2017, 4:53 PM
@elizarov Although I now see your point, since by default
async {}
starts right away and suspends as far as I understand, the
await()
just blocks the current coroutine until it gets the result. So if my dependency was to be injected straight, it would have been the best solution... but my problem is that other things that are not async are dependent on it which would lead to an inexistant
Deferred(Deferred(Deferred())))
kind of thing...