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

Function broadcastUpdateStatus

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

Source from the content-addressed store, hash-verified

875type ProgressInfo = { readonly percent: number };
876
877const broadcastUpdateStatus = () => {
878 for (const win of BrowserWindow.getAllWindows()) {
879 if (!win.isDestroyed()) win.webContents.send(UPDATE_STATUS_CHANNEL, updateStatus);
880 }
881};
882
883const setUpdateStatus = (status: DesktopUpdateStatus) => {
884 updateStatus = status;

Callers 1

setUpdateStatusFunction · 0.85

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected