MCPcopy
hub / github.com/brimdata/zui / syncWindow

Function syncWindow

apps/zui/src/js/initializers/init-plugin-context-sync.ts:10–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 let lakeId = null
9
10 const syncWindow = () =>
11 invoke("window.sync", {
12 lakeId: Current.getLakeId(store.getState()),
13 id: globalThis.windowId,
14 })
15
16 store.subscribe(() => {
17 const nextId = Current.getLakeId(store.getState())

Callers 1

Calls 1

invokeFunction · 0.90

Tested by

no test coverage detected