Open randallb opened 1 year ago
macOS requires all UI code to run on the main thread, so there's no avoiding that.
The C SDK provides webview.dispatch
for executing code on the main thread, so if that got implemented here you could use that to still utilize the main thread.
If I try to run webview in a webworker, I get:
Presumably that's because it's not on the main thread. I'm unclear on how to make this work so I don't have to block my main thread.
Any thoughts?