https://kotlinlang.org logo
#coroutines
Title
# coroutines
g

gildor

07/27/2018, 6:13 AM
Hmm, interesting, I see But also you can just call suspend function that can cache result under the hood
v

v0ldem0rt

07/27/2018, 3:13 PM
Basic there are multiple coroutines being spinned off and a consumer might wait on multiple in parallell. It's a Many to Many scenario; so my producer coroutines return Deferred<T>. They are then .awaitAll by different coroutines.