MCPcopy Index your code
hub / github.com/MagicMirrorOrg/MagicMirror / socketNotificationReceived

Method socketNotificationReceived

js/node_helper.js:52–54  ·  view source on GitHub ↗

* This method is called when a socket notification arrives. * @param {string} notification The identifier of the notification. * @param {object} payload The payload of the notification.

(notification, payload)

Source from the content-addressed store, hash-verified

50 * @param {object} payload The payload of the notification.
51 */
52 socketNotificationReceived (notification, payload) {
53 Log.log(`${this.name} received a socket notification: ${notification} - Payload: ${payload}`);
54 }
55
56 /**
57 * Set the module name.

Callers 1

setSocketIOMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected