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

Method sendNotification

js/module.js:352–354  ·  view source on GitHub ↗

* Send a notification to all modules. * @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

350 * @param {object} payload The payload of the notification.
351 */
352 sendNotification (notification, payload) {
353 MM.sendNotification(notification, payload, this);
354 }
355
356 /**
357 * Send a socket notification to the node helper.

Callers 8

generateFeedFunction · 0.80
scheduleUpdateIntervalFunction · 0.80
notificationReceivedFunction · 0.80
broadcastEventsFunction · 0.80
notificationTimerFunction · 0.80
updateAvailableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected