()
| 207 | } |
| 208 | |
| 209 | private subscribe(): void { |
| 210 | if (!this.observer) { |
| 211 | return |
| 212 | } |
| 213 | |
| 214 | if (this.unsubscribe) { |
| 215 | return |
| 216 | } |
| 217 | |
| 218 | this.unsubscribe = this.observer.subscribe((next) => { |
| 219 | this.setObserverResult(next) |
| 220 | }) |
| 221 | } |
| 222 | |
| 223 | private unsubscribeObserver(): void { |
| 224 | this.unsubscribe?.() |
no test coverage detected