New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZStream.groupedWithin works in unexpected way for infinite stream #8686
Comments
forever ??? |
Yes, the top-level stream is an infinite stream of 1, 2, 1, 2,..., then there is filtering that produces only two elements: 1, 2. I expect that groupedWithin will produce chunk [1, 2] in 5 seconds, take(1) will take this chunk and program completed |
We will take a PR for ZIO 1.x issues, of course, but we will need a volunteer to fix this issue. |
/bounty $50 |
💎 $50 bounty • ZIOSteps to solve:
Thank you for contributing to zio/zio! Add a bounty • Share on socials
|
@DenisKusakin: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
💡 @DenisKusakin submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
The behavior is only reproducible on ZIO v1.0.18, works as expected for elder versions
Expected result: Complete with exit code 0
Actual result: The program is never completed
The text was updated successfully, but these errors were encountered: