Hi, my goal is to take only the last message in a certain period of time, th first message triggers the counter, if there is no other messages during that time the last one will output as it come in input, the others will be discarded.
For doing this I'm using a function, it outputs on th first output a reset to the next delay object, the second output will pass the input object. If there will not be any other messages the delay will not be reset and the last message will output.
My problem is that if I use this code I'll have the input object incapsulated into the msg object, how to avoid it? Thanks