feat: add renderer readiness signaling and update IPC channels for folder sync

This commit is contained in:
Anish Sarkar 2026-04-02 22:20:11 +05:30
parent 1ef0d913e7
commit 5d6e3ffb7b
4 changed files with 48 additions and 20 deletions

View file

@ -44,4 +44,5 @@ contextBridge.exposeInMainWorld('electronAPI', {
},
pauseWatcher: () => ipcRenderer.invoke(IPC_CHANNELS.FOLDER_SYNC_PAUSE),
resumeWatcher: () => ipcRenderer.invoke(IPC_CHANNELS.FOLDER_SYNC_RESUME),
signalRendererReady: () => ipcRenderer.invoke(IPC_CHANNELS.FOLDER_SYNC_RENDERER_READY),
});