Async python for Event-Driven applications
Project description
AsyncED
Async python for Event-Driven applications
High-level API
Coming soon...
Low-level API
Perpetual
Where asyncio futures are the bridge between low-level events and a coroutines, perpetuals are the bridge between event streams and async iterators.
In it's essence, a perpetual is an asyncio.Future that can have its result (or exception) set multiple times, at least until it is stopped. Besides a perpetual being awaitable just like a future, it is an async iterator as well.
ensure_future
Wrap an async iterable in a perpetual, and automatically starts iterating.
See perpetual_drumkit.py for an example.
~
More docs and examples coming soon...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asynced-0.1.0.tar.gz
(8.7 kB
view hashes)
Built Distribution
asynced-0.1.0-py3-none-any.whl
(10.0 kB
view hashes)