# Wait for 0 seconds

**URL:** <https://mworks.discourse.group/t/wait-for-0-seconds/539>\
**Category:** Support\
**Created:** [January 9, 2015, 2:27pm UTC](https://mworks.discourse.group/t/wait-for-0-seconds/539 "2015-01-09T14:27:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [January 9, 2015, 2:27pm UTC](https://mworks.discourse.group/t/wait-for-0-seconds/539/1 "2015-01-09T14:27:38Z")

</div>

Hi Chris,

Would there be anything wrong with having a wait action for 0 seconds in some cases? Would MWorks just not execute the command, or would it still go through the effort of setting up the timer? I can easily add an if statement, just curious about the implementation. If you’re not sure don’t bother digging up the answer.

Thanks,  
Evan

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [January 9, 2015, 4:05pm UTC](https://mworks.discourse.group/t/wait-for-0-seconds/539/2 "2015-01-09T16:05:44Z")

</div>

Hi Evan,

> Would there be anything wrong with having a wait action for 0 seconds in some cases? Would MWorks just not execute the command, or would it still go through the effort of setting up the timer?

With a simple “wait”, the command will execute but will complete immediately, with no actual waiting. With a “start timer” action, you’ll get a warning on the server console saying “Scheduling a timer to fire at a time in the past”, but no timer thread will be created, and a “timer expired” transition on the timer will execute immediately. In either case, the execution of your experiment won’t be affected, as no actual waiting takes place.

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [January 10, 2015, 2:12pm UTC](https://mworks.discourse.group/t/wait-for-0-seconds/539/3 "2015-01-10T14:12:14Z")

</div>

Got it, thanks!

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 19, 2022, 10:41pm UTC](https://mworks.discourse.group/t/wait-for-0-seconds/539/4 "2022-07-19T22:41:52Z")

</div>

Closed on July 19, 2022, 10:41pm UTC


