fun BrowserStore.getTabSessionState(tabs: Collection<TabSessionState>): List<TabSessionState> { return tabs.mapNotNull { state.findTab(it.id) } }
Find and extract a list [TabSessionState] from the [BrowserStore] using the IDs from [tabs].