From a6b90d81d12fb18022aefd3accf114c8cecb4177 Mon Sep 17 00:00:00 2001 From: Andrew Hyndman Date: Fri, 13 Sep 2024 14:29:49 -0400 Subject: [PATCH] fix: init() should initialize network monitoring --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 5b596ed..71fe1fd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -35,6 +35,9 @@ export const init = (options?: TtvcOptions) => { Logger.info('init()'); + // initialize network monitoring + getNetworkIdleObservable(); + calculator = getVisuallyCompleteCalculator(); whenActivated(() => { void calculator.start();