user6203: When using the plutus playground simulator:

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?
Why did the week 1 auction example require a "wait for" 1 slot action after the close function?


user5518: 
"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.

You need a block that includes the close transaction. Without this extra block the close action is never executed.



6203: <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>
 5518: <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>
