Thanks, that works (both)
# coroutines
p
Thanks, that works (both)
g
Better to use yeld or any other suspend function, you can see above what happen if you use pure isActive in a loop: https://kotlinlang.slack.com/archives/C1CFAFJSK/p1539362258000100
isActive just fine, but you should be careful with
while(isActive)
because such code can block thread