docs
docs copied to clipboard
brief asyncio / multiprocessing, remove link to external asyncio guide
📚 Context
The medium article linked is IMO inappropriate to be referred to from streamlit doc, because its analysis and workaround to the asyncio hurdle is too arguable:
- Tornado server has a event loop, this does not mean it should be used to run user's (potentially blocking) coroutine.
- There are apparently other possibilities than
run_until_complete, like in https://github.com/streamlit/streamlit/issues/8488#issuecomment-2844134343 . I think the author assumed too much on the problem to solve. - The workaround it suggested, to monkey patch asyncio module with a library, is too intrusive.
🧠 Description of Changes
- a little more comparison about multiprocessing / asyncio in this page
- remove the link to the article.
💥 Impact
Size:
- [x] Small
- [ ] Not small
🌐 References
- [ ] Notion
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.