Skip to content

Commit

Permalink
docs: remove duplicate deprecated note on retryWhen (#7465)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smankusors committed Apr 22, 2024
1 parent 2587ee8 commit 9c8fa65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/rxjs/src/internal/operators/retryWhen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ import type { MonoTypeOperatorFunction, ObservableInput } from '../types.js';
* user can `complete` or `error`, aborting the retry.
* @return A function that returns an Observable that mirrors the source
* Observable with the exception of an `error`.
* @deprecated Will be removed in v9 or v10, use {@link retry}'s `delay` option instead.
* Will be removed in v9 or v10. Use {@link retry}'s {@link RetryConfig#delay delay} option instead.
* @deprecated Will be removed in v9 or v10. Use {@link retry}'s {@link RetryConfig#delay delay} option instead.
* Instead of `retryWhen(() => notify$)`, use: `retry({ delay: () => notify$ })`.
*/
export function retryWhen<T>(notifier: (errors: Observable<any>) => ObservableInput<any>): MonoTypeOperatorFunction<T> {
Expand Down

0 comments on commit 9c8fa65

Please sign in to comment.