You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}
`
I am able to poll for multiple urls simultaneously. But can I use this library so that I can meet the following requirements:
If a url which is polled gets failed then how can we retry that poll url with a delay of 3(n) secs for 3 times(I am okay with any strategy but should have some delay)?
Can we make sure that same urls are not polled at any point of time?
If we pass retryAttempts can we throw that error? But stream should not break!
The text was updated successfully, but these errors were encountered:
`
import { timer as observableTimer, Subscription, throwError } from 'rxjs';
import { takeWhile, tap, catchError, exhaustMap } from 'rxjs/operators';
import { Injectable, Inject } from '@angular/core';
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
import { REPORT_CONFIG_TOKEN } from '../configs/report.config';
@Injectable()
export class PollingService {
}
`
I am able to poll for multiple urls simultaneously. But can I use this library so that I can meet the following requirements:
The text was updated successfully, but these errors were encountered: