MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / sendToWindow

Method sendToWindow

lib/modAssist_window_lib.js:545–547  ·  view source on GitHub ↗

* Send a command to a window (unsafe, no checks) * @param {string} name window * @param {string} command * @param {...any} args

(name, command, ...args)

Source from the content-addressed store, hash-verified

543 * @param {...any} args
544 */
545 sendToWindow(name, command, ...args) {
546 this.win[name].webContents.send(command, ...args)
547 }
548
549 /**
550 * Send a command to a window if it is valid

Callers 4

modAssist_main.jsFile · 0.80
sendToValidWindowMethod · 0.80
sendAndFocusValidMethod · 0.80
themeUpdaterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected