Advertisement
Guest User

seann's node_helper.js

a guest
Feb 9th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //  node_helper.js
  2. var NodeHelper = require('node_helper');
  3.  
  4. module.exports = NodeHelper.create({
  5.   start: function() {
  6.     console.log("Started helper node_helper.");
  7.   },
  8.   socketNotificationReceived: function(notification, payload){
  9.     var self = this;
  10.     Log.info("Helper node_helper Recieved Notification: " + notification);
  11.     self.sendSocketNotification("returned_helper_notification", {});
  12.   }
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement