Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vasilmkd
Copy link
Contributor

@vasilmkd vasilmkd commented Sep 3, 2019

Resolves #538, #1605, #1313.

All tests are passing with minimal changes (only where removing the Step api was necessary). I have a feeling that the implementation of the more complicated combinators became much clearer by taking over the control flow of the Sink from the Step and encoding it into the Sink itself.

Let me know what you think.

@iravid I will be available to make quick changes during the review.

cc @jdegoes

Copy link
Member

@iravid iravid left a 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.

@vasilmkd
Copy link
Contributor Author

@iravid Ready for review, whenever you have time.

@vasilmkd vasilmkd changed the title Remove ZSink.Step in favor of abstract methods on Sink Remove ZSink.Step in favor of abstract methods on Sink and update ZSink encoding Sep 10, 2019
Copy link
Member

@iravid iravid left a 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!!

@jdegoes
Copy link
Member

jdegoes commented Sep 13, 2019

@vasilmkd Amazing undertaking. ❤️

@vasilmkd vasilmkd requested a review from iravid September 13, 2019 07:19
@vasilmkd vasilmkd requested a review from iravid September 13, 2019 13:02
Copy link
Member

@iravid iravid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Excellent work!

@iravid iravid merged commit eb9a0f3 into zio:master Sep 13, 2019
@vasilmkd vasilmkd deleted the zsink-stepless branch September 13, 2019 13:26
@vasilmkd
Copy link
Contributor Author

Ah, we should manually close #1605 and #1313. Sorry about that @iravid.

fsvehla pushed a commit to fsvehla/zio that referenced this pull request Sep 21, 2019
adamgfraser added a commit that referenced this pull request Nov 7, 2019
* 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
Twizty pushed a commit to Twizty/zio that referenced this pull request Nov 13, 2019
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Sink.Step in favor of methods on Sink

3 participants