THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Share a pool among overlapping application lifetimes.
The final owner drains admitted sends before releasing the transport.
| Method | __init__ |
Initialize ownership and task tracking for a fresh pool. |
| Async Method | drain |
Finish accepted I/O before closing its transport on its own loop. |
| Instance Variable | closing |
Drain task started by the final owner and awaited by concurrent closers. |
| Instance Variable | owners |
Live application lifetimes sharing the transport. |
| Instance Variable | sends |
Admitted tasks and the reservations that account for them. |
| Instance Variable | slot |
Transport shared throughout this generation. |
Initialize ownership and task tracking for a fresh pool.
| Returns | |
None | Create an empty generation ready to accept its first owner. |
Finish accepted I/O before closing its transport on its own loop.
| Returns | |
None | Return after the sends have settled and the transport has closed. |