Processor class introduced
This commit is contained in:
15
dist/plugintest1.js
vendored
Normal file
15
dist/plugintest1.js
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const log = require("./log");
|
||||
const processor = require("./processor");
|
||||
var exRoute = new processor.ExProc1('label1');
|
||||
function pluginTest1Start(dispatcher) {
|
||||
log.info("starting plugintest1");
|
||||
dispatcher.register('IoT/test', "plugintest1", (message) => {
|
||||
log.info(`plugintest1 runs: ${message}`);
|
||||
exRoute.in(message);
|
||||
return message;
|
||||
});
|
||||
}
|
||||
exports.pluginTest1Start = pluginTest1Start;
|
||||
//# sourceMappingURL=plugintest1.js.map
|
Reference in New Issue
Block a user