Open Pibben opened 2 months ago
Does this example help?
https://github.com/python-eel/Eel/blob/main/examples/03%20-%20sync_callbacks/web/sync_callbacks.html https://github.com/python-eel/Eel/blob/main/examples/03%20-%20sync_callbacks/sync_callbacks.py
No I'm afraid that example goes the other way; calling python from JS.
Out of curiosity, can you give a more specific example of when you want to do something like this? I'm struggling to come up with a specific use case I would want to do this.
Maybe I'm stupid, but I don't understand how to call an async JS function from Python. For example:
This does not work: