(prop, mapping)
| 279 | } |
| 280 | |
| 281 | refetchDatum(prop, mapping) { |
| 282 | const startedAt = new Date() |
| 283 | |
| 284 | if (this.state.refreshTimeouts[prop]) { |
| 285 | window.clearTimeout(this.state.refreshTimeouts[prop]) |
| 286 | } |
| 287 | |
| 288 | return this.createPromise(prop, mapping, startedAt) |
| 289 | } |
| 290 | |
| 291 | createPromise(prop, mapping, startedAt) { |
| 292 | const meta = mapping.meta |
no test coverage detected