(next: TResult)
| 134 | } |
| 135 | |
| 136 | protected setResult(next: TResult): void { |
| 137 | if (Object.is(this.result, next)) { |
| 138 | return |
| 139 | } |
| 140 | |
| 141 | this.result = next |
| 142 | if (!this.isHostUpdating) { |
| 143 | this.queueUpdate() |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | get current(): TResult { |
| 148 | if (this.queryClientResolutionState === 'missing') { |
no outgoing calls