()
| 467 | protected globalUpdateEvent; |
| 468 | |
| 469 | protected registerEvent() { |
| 470 | if (!this.globalUpdateEvent) { |
| 471 | this.globalUpdateEvent = emitter.on(`update.${this.getCacheKey()}`, data => |
| 472 | this.updateEvent(data), |
| 473 | ); |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | protected updateEvent(data) { |
| 478 | if (this.isDirty()) { |
nothing calls this directly
no test coverage detected