8000 Implement ZStream.debug by adamgfraser · Pull Request #6282 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement ZStream.debug #6282

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

Merged
merged 2 commits into from
Jan 26, 2022
Merged

Implement ZStream.debug #6282

merged 2 commits into from
Jan 26, 2022

Conversation

adamgfraser
Copy link
Contributor

Resolves #6281.

There is some ambiguity whether this should return a stream that produces a single value Unit or an empty stream. This is the implementation you want if you are using flatMap but not if you are concatenating streams. I think flatMap is more common so this makes sense.

@adamgfraser adamgfraser requested a review from iravid as a code owner January 25, 2022 17:38
@adamgfraser adamgfraser linked an issue Jan 25, 2022 that may be closed by this pull request
@adamgfraser adamgfraser merged commit 62bccf5 into zio:series/2.x Jan 26, 2022
@adamgfraser adamgfraser deleted the debug branch January 28, 2022 17:05
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.

Provide ZStream.debug helper method
3 participants
0