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

Skip to content

Conversation

@svroonland
Copy link
Contributor

Implements #3785, followup of #3902

@svroonland svroonland requested a review from iravid as a code owner November 16, 2020 15:33
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 great. Not sure about the default parameter to schedule - what's your thinking on this?

@svroonland
Copy link
Contributor Author

I figured that 'retry immediately' would make sense as a default semantic for stream retrial. Not particularly attached to it though.

@iravid
Copy link
Member

iravid commented Nov 16, 2020

Ok. I tend to agree but the need for consistency with ZIO#retry ranks higher. So i would suggest that we drop the default argument.

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.

Thank you @svroonland!

@iravid iravid merged commit c0adc8e into zio:master Nov 16, 2020
atooni pushed a commit to blended-zio/zio that referenced this pull request Dec 1, 2020
* Add ZStream.retry

* Implementation using ZManaged.switchable

* Simplify & fix

* Upgrade to 1.0.0

* Default argument for schedule

* Tests for ZStream#retry

* Drop default parameter

Co-authored-by: Steven Vroonland <[email protected]>
@svroonland svroonland deleted the zstream-retry branch January 23, 2021 09:55
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.

2 participants