# Design pattern for restarting a message loop (which should contain only one message at the time) with multiple dynamic delays

**URL:** <https://discourse.nodered.org/t/design-pattern-for-restarting-a-message-loop-which-should-contain-only-one-message-at-the-time-with-multiple-dynamic-delays/49128>\
**Category:** General\
**Created:** [30 July 2021 19:38 UTC](https://discourse.nodered.org/t/design-pattern-for-restarting-a-message-loop-which-should-contain-only-one-message-at-the-time-with-multiple-dynamic-delays/49128 "2021-07-30T19:38:49Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![rko](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rko/32/45807_2.png) [@rko](https://discourse.nodered.org/u/rko)\
**Post date:** [2 August 2021 18:44 UTC](https://discourse.nodered.org/t/design-pattern-for-restarting-a-message-loop-which-should-contain-only-one-message-at-the-time-with-multiple-dynamic-delays/49128/12 "2021-08-02T18:44:14Z")

</div>

To use the `status` node is exactly the approach I wanted to try next, after posting a feature request for the `delay` node over [here](https://discourse.nodered.org/t/delay-node-with-status-information/49221).

Thank you for the example as well. It does not properly work with my Node-RED version because the status messages are different. But I will definitely play with this approach and report back.

---

_[View the full topic](https://discourse.nodered.org/t/design-pattern-for-restarting-a-message-loop-which-should-contain-only-one-message-at-the-time-with-multiple-dynamic-delays/49128)._
