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

Method sendSocketNotification

js/module.js:361–363  ·  view source on GitHub ↗

* Send a socket notification to the node helper. * @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

359 * @param {object} payload The payload of the notification.
360 */
361 sendSocketNotification (notification, payload) {
362 this.socket().sendNotification(notification, payload);
363 }
364
365 /**
366 * Hide this module.

Callers 15

checkArticleUrlFunction · 0.45
createFetcherFunction · 0.45
broadcastFeedsFunction · 0.45
registerFeedsFunction · 0.45
showFullArticleFunction · 0.45
createFetcherFunction · 0.45
broadcastEventsFunction · 0.45
notificationReceivedFunction · 0.45
addCalendarFunction · 0.45
startFunction · 0.45
stopFunction · 0.45

Calls 2

socketMethod · 0.95
sendNotificationMethod · 0.80

Tested by

no test coverage detected