Skip to content

Commit

Permalink
fixup! Add resetOnSuccess option to retryBackoff operator
Browse files Browse the repository at this point in the history
  • Loading branch information
vially committed May 16, 2020
1 parent df20de5 commit 8fa59d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operators/retryBackoff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function retryBackoff(
})
)
),
tap((_: T) => {
tap(() => {
if (resetOnSuccess) {
index = 0;
}
Expand Down

0 comments on commit 8fa59d7

Please sign in to comment.