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
docs(retry): fix rendering docs #6850
Conversation
* @return A function that returns an Observable that will resubscribe to the | ||
* source stream when the source stream errors, at most `count` times. | ||
*/ | ||
export function retry<T>(count?: number): MonoTypeOperatorFunction<T>; |
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.
Moved here.
* | ||
* @param config - The retry configuration | ||
*/ | ||
export function retry<T>(config: RetryConfig): MonoTypeOperatorFunction<T>; |
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.
Moved here.
|
||
/** | ||
* Returns an observable that mirrors the source observable unless it errors. If it errors, the source observable | ||
* will be resubscribed to (or "retried") based on the configuration passed here. See documentation |
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.
Moved here.
@@ -63,22 +76,10 @@ export interface RetryConfig { | |||
* | |||
* @see {@link retryWhen} | |||
* | |||
* @param count - Number of retry attempts before failing. | |||
* @param resetOnSuccess - When set to `true` every successful emission will reset the error count |
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.
This parameter doesn't exist anymore in this form, so I removed the docs for it. It is now part of the RetryConfig and it's properly documented.
Description:
Please check the related issue for more info. This is how the page looks like with this fix (sorry for the large image):
Related issue (if exists):
#6660