# Can the Delay node rate limit, but pass first message immediately, and always pass on the latest message?

**URL:** <https://discourse.nodered.org/t/can-the-delay-node-rate-limit-but-pass-first-message-immediately-and-always-pass-on-the-latest-message/67170>\
**Category:** General\
**Created:** [31 August 2022 08:34 UTC](https://discourse.nodered.org/t/can-the-delay-node-rate-limit-but-pass-first-message-immediately-and-always-pass-on-the-latest-message/67170 "2022-08-31T08:34:55Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 August 2022 12:41 UTC](https://discourse.nodered.org/t/can-the-delay-node-rate-limit-but-pass-first-message-immediately-and-always-pass-on-the-latest-message/67170/26 "2022-08-31T12:41:11Z")

</div>

> [@dceejay](#):
>
> a simple trigger node and filter may work.

Yes, I think it does, provided the payload is a value or a simple object (otherwise the filter doesn't like it). I think this will do the job, which is to help with [Two way switch infinite loop](https://discourse.nodered.org/t/two-way-switch-infinite-loop/67115)

Thanks.

---

_[View the full topic](https://discourse.nodered.org/t/can-the-delay-node-rate-limit-but-pass-first-message-immediately-and-always-pass-on-the-latest-message/67170)._
