<ol>
<li><p>&quot;wait for&quot; will wait for x slots until the next transaction is processed. &quot;wait until&quot; will wait until slot x is reached and will then process the next transaction.</p>
</li>
<li><p>You need a block that includes the close transaction. Without this extra block the close action is never executed.</p>
</li>
</ol>

CC BY-SA 4.0
2022-01-17T23:11:40.480Z
2022-01-17T23:11:40.480Z
SteffenK
<p>When using the plutus playground simulator:</p>
<ol>
<li>I'm having trouble finding documentation on the simulator wait actions.  What are the differences in functionality between the &quot;wait for&quot; and &quot;wait until&quot; actions?</li>
<li>Why did the week 1 auction example require a &quot;wait for&quot; 1 slot action after the close function?</li>
</ol>

<plutus-pioneer-program><plutus-playground>
plutus playground simulator wait action question
# plutus playground simulator wait action question

(Asked by: username_0 on 2022-01-17)

When using the plutus playground simulator:

1. I'm having trouble finding documentation on the simulator wait actions. What are the differences in functionality between the "wait for" and "wait until" actions?
2. Why did the week 1 auction example require a "wait for" 1 slot action after the close function?

**Tags:** plutus-pioneer-program, plutus-playground

---

## 1 answers

### Answer by username_1 on 2022-01-17. Score: 1

1. "wait for" will wait for x slots until the next transaction is processed. "wait until" will wait until slot x is reached and will then process the next transaction.
2. You need a block that includes the close transaction. Without this extra block the close action is never executed.


---

