From ffc030d58b89b281959e11eae7d78b4c98fbf48f Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 7 Mar 2025 22:40:34 +0530 Subject: [PATCH] feat: pool dictionary --- server/src/browser-management/classes/BrowserPool.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/src/browser-management/classes/BrowserPool.ts b/server/src/browser-management/classes/BrowserPool.ts index 21fc4b00..5244fcea 100644 --- a/server/src/browser-management/classes/BrowserPool.ts +++ b/server/src/browser-management/classes/BrowserPool.ts @@ -21,3 +21,13 @@ interface BrowserPoolInfo { userId: string, } +/** + * Dictionary of all the active remote browser's instances indexed by their id. + * The value in this dictionary is of type BrowserPoolInfo, + * which provides additional information about the browser's usage. + * @category Types + */ +interface PoolDictionary { + [key: string]: BrowserPoolInfo, +} +