This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Fixes to Schedule #184
Merged
Merged
Fixes to Schedule #184
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2546609
Fix schedule recurs #173 and never #174
aballano 385df67
Relax Schedule retry/repeat API by asking for the minimum Monad inste…
aballano 7e566f3
Merge branch 'master' into ab/fix-schedule
aballano 591d345
Revert "Relax Schedule retry/repeat API by asking for the minimum Mon…
aballano c13842f
Fix repeat not waiting for delay after first emission
aballano c0f98b3
nits
aballano 8e2882f
Nit: change iterations with repetitions for recurs and forever docs
aballano dae7818
Merge branch 'master' into ab/fix-schedule
aballano 4266dff
Add a note regarding never
aballano 7009add
Merge branch 'master' into ab/fix-schedule
rachelcarmena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make clear here that it'll never return from
retry
orrepeat
until canceled.This is useful in similar situations as
never
where you need to explicitly suspend until canceled or interrupted. You could compose it at the end of aSchedule
usingandThen
to suspend after aSchedule
finishes.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a note "Note that this will hang a program if used as a repeat/retry schedule unless cancelled."