(provider: CustomConfigurationProvider1)
| 31 | } |
| 32 | |
| 33 | private addNotifyReadyTimer(provider: CustomConfigurationProvider1): void { |
| 34 | if (this.version >= Version.v2) { |
| 35 | const timeout: number = 30; |
| 36 | const timer: NodeJS.Timeout = global.setTimeout(() => { |
| 37 | console.warn(`registered provider ${provider.extensionId} did not call 'notifyReady' within ${timeout} seconds`); |
| 38 | }, timeout * 1000); |
| 39 | this.timers.set(provider.extensionId, timer); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | private removeNotifyReadyTimer(provider: CustomConfigurationProvider1): void { |
| 44 | if (this.version >= Version.v2) { |
no test coverage detected