getkyo / kyo

Toolkit for Scala Development
https://getkyo.io
Apache License 2.0
545 stars 45 forks source link

Improve API of Streams #679

Open calvinlfer opened 1 month ago

calvinlfer commented 1 month ago

The current API of streams is quite sparse/low-level requiring the user of the API to drop down to the underlying representation of Emit in order to deal with complexity (if you take a look at Virgil Kyo to see me struggling 😂). The underlying representation feels akin to ZIO’s channel or FS2’s Pull but it would be much nicer to offer more higher level combinators that prevent/delay the user of the API to reach for lower levels immediately and allows one to stay at a very high level of abstraction until one cannot and requires fine grained control and performance. The idea at least naively would be to eventually replicate the API surface (or provide similar or better expressivity) of the other 2 streaming libraries.

algora-pbc[bot] commented 6 days ago

💎 $500 bounty • Kaizen Solutions

Steps to solve:

  1. Start working: Comment /attempt #679 with your implementation plan
  2. Submit work: Create a pull request including /claim #679 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to getkyo/kyo!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @maujim Oct 31, 2024, 3:40:04 PM WIP
maujim commented 5 days ago

Can you please clarify what the acceptance criteria are? I would like to /attempt #679