(interval: number)
| 55 | let currentInterval: number = HEALTH_CHECK_CONFIG.INITIAL_INTERVAL |
| 56 | |
| 57 | const scheduleNextCheck = (interval: number) => { |
| 58 | if (!isMounted) return |
| 59 | timeoutId = setTimeout(() => checkConnection(), interval) |
| 60 | } |
| 61 | |
| 62 | const checkConnection = async () => { |
| 63 | const client = await getCodebuffClient() |
no test coverage detected