()
| 11 | } |
| 12 | |
| 13 | protected scheduleGc(): void { |
| 14 | this.clearGcTimeout() |
| 15 | |
| 16 | if (isValidTimeout(this.gcTime)) { |
| 17 | this.#gcTimeout = timeoutManager.setTimeout(() => { |
| 18 | this.optionalRemove() |
| 19 | }, this.gcTime) |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | protected updateGcTime(newGcTime: number | undefined): void { |
| 24 | // Default to 5 minutes (Infinity for server-side) if no gcTime is set |
nothing calls this directly
no test coverage detected
searching dependent graphs…