UNPKG

happner

Version:

distributed application engine with evented storage and mesh services

18 lines (13 loc) 371 B
module.exports = Module1; function Module1() { } Module1.prototype.start = function (callback) { callback(null); // console.log('start', this.stop); } Module1.prototype.stop = function () { // console.log('stop', this.$happn.config); } Module1.prototype.getThingFromConfig = function ($happn, $origin, callback) { callback(null, $happn.config.configThing); }