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
{{ message }}
Repository navigation
PythonMonkey cannot find a running Python event-loop to make asynchronous calls. #469
Activity
wiwichips commentedon Mar 25, 2025
Hi @arvindavoudi , this happens when the JavaScript code requires an event loop (for example: code that uses
setTimeout)You need to evaluate the JS code in a Python event loop. Refer to the
asynciostandard library: https://docs.python.org/3/library/asyncio.htmlNot sure if this will work in your use case, but try running: