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

Function broadcastUpdateStatus

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

Source from the content-addressed store, hash-verified

869type ProgressInfo = { readonly percent: number };
870
871const broadcastUpdateStatus = () => {
872 for (const win of BrowserWindow.getAllWindows()) {
873 if (!win.isDestroyed()) win.webContents.send(UPDATE_STATUS_CHANNEL, updateStatus);
874 }
875};
876
877const setUpdateStatus = (status: DesktopUpdateStatus) => {
878 updateStatus = status;

Callers 1

setUpdateStatusFunction · 0.85

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected