mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
delay node - change lifo property to toFront
add info to sidebar add tests
This commit is contained in:
@@ -253,7 +253,7 @@ module.exports = function(RED) {
|
||||
if ((max_msgs > 0) && (node.buffer.length >= max_msgs)) {
|
||||
node.buffer = [];
|
||||
node.error(RED._("delay.errors.too-many"), msg);
|
||||
} else if (msg.lifo) {
|
||||
} else if (msg.toFront === true) {
|
||||
node.buffer.unshift({msg: m, send: send, done: done});
|
||||
node.reportDepth();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user