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

Skip to content

Conversation

@sir-wabbit
Copy link

@sir-wabbit sir-wabbit commented Mar 22, 2020

Closes #2334.

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.

Looks good. Two minor oversights. Thanks for picking this up!

@sir-wabbit
Copy link
Author

I'll review it myself as well, I think there are some simplifications that could be made like .flatMap(s => UIO(...)) => map(s => ...).

@iravid
Copy link
Member

iravid commented Mar 23, 2020

I think the call to Stream#iterator is rightly suspended as who knows what throws and what doesn’t 🤷🏼‍♂️

@sir-wabbit
Copy link
Author

Okay, fixed one more minor problem in StreamEffect.fromJavaIterator.

@iravid
Copy link
Member

iravid commented Mar 23, 2020

Needs a format and should be good to go!

@iravid iravid merged commit 5d43b26 into zio:master Mar 23, 2020
@iravid
Copy link
Member

iravid commented Mar 23, 2020

Awesome work. Thanks again @alexknvl.

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.

Add fromEffectfulIterator to Stream

3 participants