Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(retry): add config to reset error count on successful emission #5280

Merged
merged 5 commits into from
Feb 3, 2020

Commits on Jan 30, 2020

  1. feat(retry): add config to reset error count on successful emission

    This PR adds the ability to reset the error counter on successful emissions using the `retry`
    operator. The current behavior for `retry(n)` is to call error if n errors occurred, regardless of
    whether or not they were consecutive. Now one would be able to use `retry(n, true)` to have the
    count reset so that only n consecutive errors will cause the observable to fail.
    ommizrah authored and cartant committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    27d3ece View commit details
    Browse the repository at this point in the history
  2. feat(retry): add config parameter

    added overloaded signature to the `retry` operator that accepts a config object
    ommizrah authored and cartant committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    d1ed91d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6329895 View commit details
    Browse the repository at this point in the history
  4. chore: appease TypeScript

    cartant committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    7b3754e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee7eab0 View commit details
    Browse the repository at this point in the history