hello
What I want to achieve is functionality of controlled message flow with memorizing of most recent blocked one in order to send it when flow is allowed again.
Just imagine messages sent with some frequency. Those messages are blocked by traffic lights node. When traffic lights turns into "allow" mode, it resends only the most recent message blocked.
Current implementation of traffic lights resends all messages collected during "blocked" state (btw curious if there are any memory considerations). I would like to resent only most recent one.
I tried to incorporate delay node configured to rate limit mode, but it passes only the first message, dropping all others.
I could achieve what I want with use of flow or env variable but maybe there is "smarter" method.
thank you in advance