MCPcopy
hub / github.com/wavetermdev/waveterm / clearTabCache

Function clearTabCache

emain/emain-tabview.ts:295–301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293}
294
295export function clearTabCache() {
296 const wcVals = Array.from(wcvCache.values());
297 for (let i = 0; i < wcVals.length; i++) {
298 const tabView = wcVals[i];
299 tryEvictEntry(tabView.waveTabId);
300 }
301}
302
303// returns [tabview, initialized]
304export async function getOrCreateWebViewForTab(waveWindowId: string, tabId: string): Promise<[WaveTabView, boolean]> {

Callers 1

makeViewMenuFunction · 0.90

Calls 1

tryEvictEntryFunction · 0.85

Tested by

no test coverage detected