()
| 191 | } |
| 192 | |
| 193 | let update = () => { |
| 194 | if (!this._mounted) { |
| 195 | return; |
| 196 | } |
| 197 | |
| 198 | this.setState({ |
| 199 | error: res.error, |
| 200 | loaded: res.loaded, |
| 201 | loading: res.loading |
| 202 | }); |
| 203 | |
| 204 | this._clearTimeouts(); |
| 205 | }; |
| 206 | |
| 207 | res.promise |
| 208 | .then(() => { |
nothing calls this directly
no test coverage detected