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
Exposing async Python functions to JS is currently not supported. I'm currently starting to work on a v2 of this package and the feasibility of that feature will get considered. Though I'm not a priori sure whether it is doable.
Hi, @PetterS
I want to know if there is a way to expose and call
async
python method from quickjsI exposed my simple async function via
add_callable
and tried to run it in JS. I am getting error thatcoroutine
is not awaited.Problem here that I could not find a way to do it in JS.
I tried:
execute_pending_job
Maybe I am doing something wrong, can you please suggest a workaround?
The text was updated successfully, but these errors were encountered: