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
The Stage 2 JavaScript AsyncContext proposal adds state which is saved and restored across await, like the current scheduling state. Can we model the current scheduling state as an AsyncContext.Variable instance which is not exposed to JavaScript, just held internally by HTML? If so, then it would allow implementations to share the same code paths, reducing overall complexity.
Note that there is a currently open design discussion about how AsyncContext is saved and restored across various web APIs (issue, html issue). I'm curious whether the propagation of the current scheduling state should be propagated in the same way.