MCPcopy Create free account
hub / github.com/DarkGuy10/BotClient / transmit

Method transmit

public/structures/Client/Client.js:33–35  ·  view source on GitHub ↗

* Transmit events to the renderer with optional arguements. * @param {String} eventName Name of event to transmit * @param {Array } args Any arguements that need to be sent. **Must be serializable.**

(eventName, ...args)

Source from the content-addressed store, hash-verified

31 * @param {Array<any>} args Any arguements that need to be sent. **Must be serializable.**
32 */
33 transmit(eventName, ...args) {
34 this.mainWindow.webContents.send(eventName, ...args)
35 }
36
37 get clientUserData() {
38 const data = {

Callers 4

executeFunction · 0.80
executeFunction · 0.80
executeFunction · 0.80
executeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected