OpenBB-finance / pywry

MIT License
87 stars 12 forks source link

Two way communication #85

Open thewh1teagle opened 1 year ago

thewh1teagle commented 1 year ago

Add two way communication so we can call Python from frontend or call JS from Python

tehcoderer commented 1 year ago

currently you can do this from JS to Python that once sent auto closes the window

I've added an examples of this here:

Let me know what use case you're thinking of and I can try to implement it!

thewh1teagle commented 1 year ago

I will check that. My use case is simply use pywry as tauri with python as backend In tauri we have the commands we bind, and the window.invoke which is very convenient