()
| 52 | } |
| 53 | |
| 54 | protected get dbReady(): Observable<boolean> { |
| 55 | if (!this.dbReadySubject) { |
| 56 | // first time the service is called. |
| 57 | this.dbReadySubject = new BehaviorSubject<boolean>(false); |
| 58 | this.resetDb(); |
| 59 | } |
| 60 | return this.dbReadySubject.asObservable().pipe(first((r: boolean) => r)); |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Process Request and return an Observable of Http Response object |
nothing calls this directly
no test coverage detected
searching dependent graphs…