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

Method socketNotificationReceived

js/module.js:184–186  ·  view source on GitHub ↗

* 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

182 * @param {object} payload The payload of the notification.
183 */
184 socketNotificationReceived (notification, payload) {
185 Log.log(`${this.name} received a socket notification: ${notification} - Payload: ${payload}`);
186 }
187
188 /**
189 * Called when the module is hidden.

Callers 3

socketMethod · 0.95
injectMockWeatherDataFunction · 0.45
injectMockWeatherDataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected