Pure async, single-threaded application #5860
Unanswered
davidbrochart
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It's certainly possible. Textual launches threads in the driver, one for processing input, and another for writing output. That could be replaced with pure-async and no threads. Not a small job though. Some apps may also use threaded workers, which couldn't easily be converted in to async. At least now without introducing freezes in the UI. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to run a Textual application in WASM, where threads are not available. I understand that Textual uses threads for messages, but I'm wondering if there could be a mode where Textual runs in a pure-async environment, in a single thread?
Beta Was this translation helpful? Give feedback.
All reactions