Overview of aioreactive
masteraioreactive is an asynchronous and reactive Python library for asyncio using async and await. It is built on the Expression functional library and provides a unification of RxPY and reactive programming with the asyncio event loop.
Key Design Goals:
- Python 3.10+ only: Requires Python 3.10 or higher due to a dependency on
Expression v5. - Async-first: All operators, sending values, subscribing, and disposing are
asyncoperations. - Single Scheduler: Everything runs on the
asynciobase event-loop; no multi-threading is used by default. - Back-pressure: Uses implicit synchronous back-pressure where producers await downstream consumers.
- Functional & OO: Supports both functional pipe-forward programming and object-oriented method chaining.