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

littlelightcz

12/12/2017, 6:41 PM
@asad.awadia yeah but they're using CountDownLatch - this is what I expected coroutines will let me avoid 🙂
g

gildor

12/13/2017, 2:32 AM
CountDownLatch for this is bad solution, especially with coroutines. With coroutines you can manage this easily and non-blocking (you can block if you want, but probably you actually don’t want to do that)
3 Views