Commit Graph

10 Commits

Author SHA1 Message Date
d497a2225b fix: broken import in the examples after net_stream_interface rename 2025-02-25 06:37:09 -07:00
e7a9ee78a8 rename typing.py to custom_types.py for clarity 2025-02-02 07:18:52 -07:00
a72dbaa58d set demos as console scripts, update chat instructions 2025-01-01 17:36:41 -07:00
7de6cbaab0 display example code and usage instructions in docs 2024-05-19 13:34:13 -06:00
827d16b106 import asynccontextmanager from context lib and remove async_generator dep 2024-04-27 10:12:39 -06:00
94483714a3 run lint and fix errors, except mypy 2024-02-19 16:05:58 -07:00
6e01a7da31 PR feedback: async with host.run() 2020-01-26 16:44:42 +08:00
3372c32432 Fix examples and modify new_node
- Fix examples `chat.py` and `echo.py`
    - Use trio directly, instead of `trio-asyncio`
    - Remove redundant code
- Change entry API `new_node` to `new_host_trio`
2019-12-24 18:03:18 +08:00
649a230776 Fix MplexStream.read 2019-09-06 17:26:40 +08:00
c1fdf9accf Add echo demo 2019-09-04 10:45:41 -07:00