Is it possible to synchronously call an async function in the webloop? #4670
Answered
by
hoodmane
CNSeniorious000
asked this question in
Q&A
-
Like #2219, I wonder whether there is a replacement for Normally, |
Beta Was this translation helpful? Give feedback.
Answered by
hoodmane
Apr 6, 2024
Replies: 1 comment
-
With JavaScript Promise Integration you can do it. You'll need to opt into the chrome origin trial for jspi and also I'd suggest waiting for the next Pyodide release since there's several important bug fixes for the stack switching logic coming in Pyodide v0.26. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CNSeniorious000
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With JavaScript Promise Integration you can do it. You'll need to opt into the chrome origin trial for jspi and also I'd suggest waiting for the next Pyodide release since there's several important bug fixes for the stack switching logic coming in Pyodide v0.26.