# What does the "Send ..." setting of the delay node do?

**URL:** <https://discourse.nodered.org/t/what-does-the-send-setting-of-the-delay-node-do/89380>\
**Category:** General\
**Created:** [9 July 2024 20:33 UTC](https://discourse.nodered.org/t/what-does-the-send-setting-of-the-delay-node-do/89380 "2024-07-09T20:33:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreKR](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrekr/32/81657_2.png) [@AndreKR](https://discourse.nodered.org/u/AndreKR)\
**Post date:** [9 July 2024 20:33 UTC](https://discourse.nodered.org/t/what-does-the-send-setting-of-the-delay-node-do/89380/1 "2024-07-09T20:33:48Z")

</div>

The built-in delay node in rate-limiting mode has a setting with two options, "Send all topics" and "Send each topic in turn". What does it do?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/e/de4dcac3cc767849576abc977fc86733af23d491.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 July 2024 20:52 UTC](https://discourse.nodered.org/t/what-does-the-send-setting-of-the-delay-node-do/89380/2 "2024-07-09T20:52:49Z")

</div>

In the "for each msg.topic" mode - if say the node gets two messages - one with topic A and payload 1, and another with topic B and payload 2 - then in "send each topic in turn" mode at 1 second it will release the message with topic A and payload 1 - and then at the next second it will release the message with topic B and payload 2.... in "send all topics" mode it will release both messages at second 1.

---

<div class="post-metadata">

**Author:** ![AndreKR](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrekr/32/81657_2.png) [@AndreKR](https://discourse.nodered.org/u/AndreKR)\
**Post date:** [9 July 2024 21:05 UTC](https://discourse.nodered.org/t/what-does-the-send-setting-of-the-delay-node-do/89380/3 "2024-07-09T21:05:30Z")

</div>

So it essentially works as if I would multiply the time period by the number of unique topics I have?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 July 2024 21:08 UTC](https://discourse.nodered.org/t/what-does-the-send-setting-of-the-delay-node-do/89380/4 "2024-07-09T21:08:04Z")

</div>

I suppose that is one way to look at it...

It spaces each topic out by the time period, whereas send all sends whatever has accumulated at each time period.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 July 2024 21:08 UTC](https://discourse.nodered.org/t/what-does-the-send-setting-of-the-delay-node-do/89380/5 "2024-07-23T21:08:52Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
