Javascript – Main and Renderer handling promises, but Preload can be non-promise?
Considering the renderer and main are handling promises, will the code below force the process to become synchronous if openFile() is not also set to async await? contextBridge.exposeInMainWorld('myAPI', { openFile: () => ipcRenderer.invoke('dialog:openFile'), ... If the code below is absolutely…