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