()
| 105 | } |
| 106 | |
| 107 | protected onSubscribe(): void { |
| 108 | if (this.listeners.length === 1) { |
| 109 | this.currentQuery.addObserver(this) |
| 110 | |
| 111 | if (shouldFetchOnMount(this.currentQuery, this.options)) { |
| 112 | this.executeFetch() |
| 113 | } |
| 114 | |
| 115 | this.updateTimers() |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | protected onUnsubscribe(): void { |
| 120 | if (!this.listeners.length) { |
nothing calls this directly
no test coverage detected