# Help with \`delay\` node. how to flush ALL messages

**URL:** <https://discourse.nodered.org/t/help-with-delay-node-how-to-flush-all-messages/99021>\
**Category:** General\
**Created:** [11 September 2025 22:47 UTC](https://discourse.nodered.org/t/help-with-delay-node-how-to-flush-all-messages/99021 "2025-09-11T22:47:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 September 2025 22:47 UTC](https://discourse.nodered.org/t/help-with-delay-node-how-to-flush-all-messages/99021/1 "2025-09-11T22:47:08Z")

</div>

Sorry folks, but I went down a wrong track with the `delay` node and how to tell it to _flush_ (dump?) all queued messages.

`return {flush: 1}` only sends the next message.

Is there a way to get it to dump all messages?

Thanks.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 September 2025 22:48 UTC](https://discourse.nodered.org/t/help-with-delay-node-how-to-flush-all-messages/99021/2 "2025-09-11T22:48:47Z")

</div>

Ah!

Bit more reading.

`return {flush: true}` does what I want.

Sorry.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 September 2025 07:55 UTC](https://discourse.nodered.org/t/help-with-delay-node-how-to-flush-all-messages/99021/3 "2025-09-12T07:55:01Z")

</div>

Didn't you check the node help in the sidebar before posting this Andrew?

 ![delay](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/83cc9caca05826ec94486a98d5b369f1a90f4dd8.png)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [12 September 2025 07:57 UTC](https://discourse.nodered.org/t/help-with-delay-node-how-to-flush-all-messages/99021/4 "2025-09-12T07:57:34Z")

</div>

Yeah, well I read it but it _didn't compute_ and I missed the latter part.

Brain is not as good as I would like.  
(Though it may be the language parser more than the bigger brain.)

I left the post only in case anyone else was too scared to ask.  
(Share the knowledge)  
🙂

---

<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:** [26 September 2025 07:58 UTC](https://discourse.nodered.org/t/help-with-delay-node-how-to-flush-all-messages/99021/5 "2025-09-26T07:58:20Z")

</div>

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