-
Couldn't load subscription status.
- Fork 1.4k
Remove ZSink.Step in favor of abstract methods on Sink and update ZSink encoding #1560
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work! Only a few comments, mainly on coverage. Then this is good to go.
|
@iravid Ready for review, whenever you have time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last minor comments! Very nice work!!
|
@vasilmkd Amazing undertaking. ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Excellent work!
* implement permits * make TRef state private * prototype safe semaphore * implement permits * make TRef state private * #1219 - add doUntilEquals and doWhileEquals methods (#1634) * Update zio-interop-reactivestreams to 1.0.3.1-RC1 (#1665) * Add ZStream#cross, crossWith, <*>, <*, *>, <&>, zipLeft, zipRight, <&, &> (#1510) * Add ZStrem#zip left and right operators and alias for all zip operators * formatted code to make scalafmtCheck pass. * change for <*> variants with flatmap and <&> with zipWith. * adding crossWith and cross functions to ZStream. * merge conflict change. * formatted naming conventions. * Update the encoding of ZSink (#1560) * prototype safe semaphore * cleanup * uodate documentation * address review comments * cleanup * add back and deprecate methods * cleanup * make method private
* implement permits * make TRef state private * prototype safe semaphore * implement permits * make TRef state private * zio#1219 - add doUntilEquals and doWhileEquals methods (zio#1634) * Update zio-interop-reactivestreams to 1.0.3.1-RC1 (zio#1665) * Add ZStream#cross, crossWith, <*>, <*, *>, <&>, zipLeft, zipRight, <&, &> (zio#1510) * Add ZStrem#zip left and right operators and alias for all zip operators * formatted code to make scalafmtCheck pass. * change for <*> variants with flatmap and <&> with zipWith. * adding crossWith and cross functions to ZStream. * merge conflict change. * formatted naming conventions. * Update the encoding of ZSink (zio#1560) * prototype safe semaphore * cleanup * uodate documentation * address review comments * cleanup * add back and deprecate methods * cleanup * make method private
Resolves #538, #1605, #1313.
All tests are passing with minimal changes (only where removing the
Stepapi was necessary). I have a feeling that the implementation of the more complicated combinators became much clearer by taking over the control flow of theSinkfrom theStepand encoding it into theSinkitself.Let me know what you think.
@iravid I will be available to make quick changes during the review.
cc @jdegoes