You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the definition for "suspending function", the execution context context has a "state" that is either Suspended or Active[caller]. Where is all this defined?
I know that the ECMAScript spec defines "execution context" (and WebAssembly.promising's use of the term explicitly links to the ES spec), but an ES execution context doesn't have a "state" component, let alone one whose values are Suspended or Active[caller]. So I'm wondering if you have some other kind of execution context in mind.
The text was updated successfully, but these errors were encountered:
This text is being reworked for the specification itself.
The intention in the explainer was to note that the execution context was active for some caller. As you note, this is not a real ES thing.
For a snapshot look into the spec as it is being developed, see #37.
In the definition for "suspending function", the execution context
context
has a "state" that is either Suspended or Active[caller
]. Where is all this defined?I know that the ECMAScript spec defines "execution context" (and
WebAssembly.promising
's use of the term explicitly links to the ES spec), but an ES execution context doesn't have a "state" component, let alone one whose values are Suspended or Active[caller
]. So I'm wondering if you have some other kind of execution context in mind.The text was updated successfully, but these errors were encountered: