# Can I have a delay / sleep inside Function node

**URL:** <https://discourse.nodered.org/t/can-i-have-a-delay-sleep-inside-function-node/3101>\
**Category:** General\
**Created:** [13 September 2018 07:50 UTC](https://discourse.nodered.org/t/can-i-have-a-delay-sleep-inside-function-node/3101 "2018-09-13T07:50:19Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![jovee](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@jovee](https://discourse.nodered.org/u/jovee)\
**Post date:** [18 July 2019 22:44 UTC](https://discourse.nodered.org/t/can-i-have-a-delay-sleep-inside-function-node/3101/27 "2019-07-18T22:44:06Z")

</div>

Here's a description of the current project, for some context, if you're interested 🙂

> [@Set trigger node's delay time from context value](https://discourse.nodered.org/t/set-trigger-nodes-delay-time-from-context-value/13415/9):
>
> Sure, don't mind explaining at all! And great suggestion, but I'm using msg.topic later on in the flow to help track what device a TCP response came from. I'm sure there's another way to do it, but that's what I've got right now. This part of the flow is meant to collect a bunch of information from a group of display hardware, projectors in this case, and save the states collected to context storage, to be accessed at anytime by other systems that need the information. Data collected are things…

---

_[View the full topic](https://discourse.nodered.org/t/can-i-have-a-delay-sleep-inside-function-node/3101)._
