MCPcopy Create free account
hub / github.com/MathMan05/Fermi / postMessage

Method postMessage

src/webpage/utils/utils.ts:933–939  ·  view source on GitHub ↗
(message: messageTo)

Source from the content-addressed store, hash-verified

931 });
932 this.postMessage({code: "isValid", url});
933 });
934 }
935 static async checkUpdates(): Promise<boolean> {
936 if (this.needsUpdate) return true;
937 return new Promise((res) => {
938 this.captureEvent("updates", (update, remove) => {
939 remove;
940 res(update.updates);
941 });
942 this.postMessage({code: "CheckUpdate"});

Callers 14

initMethod · 0.95
handleMessageMethod · 0.95
isValidMethod · 0.95
checkUpdatesMethod · 0.95
constructorMethod · 0.45
showusersettingsMethod · 0.45
tryToCloseFunction · 0.45
sendAllFunction · 0.45
refreshUrlFunction · 0.45
sendMessageFunction · 0.45
getBulkUsersFunction · 0.45
setStringWorkerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected