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

Skip to content

Conversation

@adamgfraser
Copy link
Contributor

Running one schedule after another seems like a relatively common operation that we should have an operator alias for. Right now we have <||> for andThenEither but nothing for andThen. I thought about |> to mirror that but that has the conniption that we are preferred the right side over the left versus unifying them and also potentially seems more like we are piping the outputs of one schedule to the other. ++ seems quite intuitive if you think of a schedule as generating a series of recurrences.

@adamgfraser adamgfraser requested a review from jdegoes March 25, 2020 18:48
@adamgfraser adamgfraser merged commit 8620846 into zio:master Mar 25, 2020
@adamgfraser adamgfraser deleted the andthen branch March 25, 2020 19:21
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