mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
9152daa13b
commit
8742bf354b
@ -48,7 +48,7 @@ module.exports = function(RED) {
|
|||||||
node.warn("I saw a payload: "+msg.payload);
|
node.warn("I saw a payload: "+msg.payload);
|
||||||
// in this example just send it straight on... should process it here really
|
// in this example just send it straight on... should process it here really
|
||||||
this.send(msg);
|
this.send(msg);
|
||||||
}
|
});
|
||||||
|
|
||||||
this.on("close", function() {
|
this.on("close", function() {
|
||||||
// Called when the node is shutdown - eg on redeploy.
|
// Called when the node is shutdown - eg on redeploy.
|
||||||
|
Loading…
Reference in New Issue
Block a user