MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / broadcastUpdateStatus

Function broadcastUpdateStatus

apps/desktop/src/main/index.ts:829–833  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

827type ProgressInfo = { readonly percent: number };
828
829const broadcastUpdateStatus = () => {
830 for (const win of BrowserWindow.getAllWindows()) {
831 if (!win.isDestroyed()) win.webContents.send(UPDATE_STATUS_CHANNEL, updateStatus);
832 }
833};
834
835const setUpdateStatus = (status: DesktopUpdateStatus) => {
836 updateStatus = status;

Callers 1

setUpdateStatusFunction · 0.85

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected