From 973bfb38a4b1dcd423db8f604edde407b9c40194 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Wed, 10 May 2017 05:14:57 +0300 Subject: [PATCH] Website yield and .call/.apply --- website/guide/coroutines.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/guide/coroutines.html b/website/guide/coroutines.html index 5d8eda2f..c73ffbde 100644 --- a/website/guide/coroutines.html +++ b/website/guide/coroutines.html @@ -42,9 +42,14 @@ they are present anywhere in the yielding coroutine's call stack:

  • a getter/setter call
  • a proxy trap call
  • an eval() call
  • -
  • Function.prototype.call() or Function.prototype.apply()
  • a finalizer call
  • +
    +Since Duktape 2.2 Function.prototype.call(), +Function.prototype.apply(), and Reflect.apply() +no longer prevent a yield. +
    +

    See How to use coroutines for examples.