15 lines
537 B
JavaScript
15 lines
537 B
JavaScript
![]() |
"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
|