-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi! This node is really useful, but it miss an important and safe (for flow) option, let only the last message go out in a certain amount of time.
My situation is I'm driving a very delicated dimmer, actually I had cloned the TCP packets from the app on my phone and it's not really clear how many packets it can receive before crash (flood), it happened already (not big numbers, maybe only 3/4 packets had crashed it) and needed a boring/long reset procedure. For this reason I want to filter the packets incoming, and keep only the last one.
Actually for doing this I'm using a function with 2 outputs, the first object incoming sends a reset to output1, to the attached delay node set with 200ms, the output 2 sends the same input object. Every packet which will follow will empty the delay node from the previous object, only the last message will let de lealy to time out and output it.
Thank you