Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove everything related to isValidValue from Bacon.retry
Similar effect can (and should) be implemented in the client code, by transforming the source stream as suggested by @jonifreeman: Bacon.retry({source: someSource.flatMap(function(x) { return x === "FOO" ? Bacon.error("invalid value") : Bacon.once(x) })})
- Loading branch information
Miki Leskinen
committed
Jan 10, 2014
1 parent
9b7b084
commit 519ea2f
Showing
2 changed files
with
20 additions
and
57 deletions.
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