Replies: 1 comment
-
I think this will be fixed by #4065 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi kotlinx.coroutines team,
If you keep calling hasNext() on the channel iterator, it is moving the cursor. So for example
https://pl.kotl.in/5U-Z6RQd1
this will generate output
Strictly speaking, this is not the behavior one would expect from a function called hasNext() it should be only a query and should not have a side-effect. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions