Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

preload.cjs

6 lines255 Bytes

1// Exposes the one IPC call the persisted demand coverage driver needs.
2const { contextBridge, ipcRenderer } = require(`electron`)
3​
4contextBridge.exposeInMainWorld(`demandBridge`, {
5 invoke: (channel, ...args) => ipcRenderer.invoke(channel, ...args),
6})