Browse Source

Website yield and .call/.apply

pull/1421/head
Sami Vaarala 8 years ago
parent
commit
973bfb38a4
  1. 7
      website/guide/coroutines.html

7
website/guide/coroutines.html

@ -42,9 +42,14 @@ they are present anywhere in the yielding coroutine's call stack:</p>
<li>a getter/setter call</li>
<li>a proxy trap call</li>
<li>an <code>eval()</code> call</li>
<li><code>Function.prototype.call()</code> or <code>Function.prototype.apply()</code></li>
<li>a finalizer call</li>
</ul>
<div class="note">
Since Duktape 2.2 <code>Function.prototype.call()</code>,
<code>Function.prototype.apply()</code>, and <code>Reflect.apply()</code>
no longer prevent a yield.
</div>
<p>See <a href="http://wiki.duktape.org/HowtoCoroutines.html">How to use coroutines</a>
for examples.</p>

Loading…
Cancel
Save