Hi guys! How to you polling with `flow` . I just w...
# coroutines
j
Hi guys! How to you polling with
flow
. I just want to looping forever by using Flow of coroutine. Actually I dont like while(true). Any support method ?
s
What is wrong with
while(true)
?
j
@streetsofboston In fact, there were no problem with
while(true)
. I’ve just think that there any other way to write polling logic. RxJava provides many method that helps us implement polling.
e
If you have some specific ideas on what we could add to make it simpler, please submit an issue to http://github.com/kotlin/kotlinx.coroutines/issues