SHARE
TWEET

seann's node_helper.js

a guest Feb 9th, 2019 75 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. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top