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

Skip to content

Conversation

@agarella
Copy link
Contributor

@agarella agarella commented Jul 2, 2021

This introduces an operator that allows a Schedule to recur for a given duration. As suggested here #4351

Copy link
Member

@jdegoes jdegoes 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!

How about we call it upTo, e.g. Schedule.spaced(1.second).upTo(5.seconds).

@agarella agarella changed the title Introduce Schedule.during operator Introduce Schedule.upTo operator Jul 3, 2021
@agarella
Copy link
Contributor Author

agarella commented Jul 3, 2021

@jdegoes I've updated it according to your suggestion

@adamgfraser
Copy link
Contributor

@agarella Can you run prepare to format?

@jdegoes jdegoes closed this Jul 4, 2021
@jdegoes jdegoes reopened this Jul 4, 2021
@adamgfraser adamgfraser merged commit 75fc669 into zio:master Jul 4, 2021
@agarella agarella deleted the schedule-during branch July 5, 2021 05:56
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.

3 participants