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
Account for open pools including idle keep-alive and in-progress closes.
Credits return after a physical pool closes or its initialization fails.
| Method | __init__ |
Initialize an empty connection budget and FIFO wait queue. |
| Method | _wake |
Grant waiting requests the credits available in FIFO order. |
| Async Method | acquire |
Grant a temporary pool one socket or a shared pool its full ceiling. |
| Method | release |
Return the budget only after initialization failure or physical close. |
| Instance Variable | used |
Connection credits currently held by pools on this loop. |
| Instance Variable | waiting |
Pending allocations in FIFO order with their limits and wake-up futures. |
Initialize an empty connection budget and FIFO wait queue.
| Returns | |
None | Start with all connection credits available. |
Grant waiting requests the credits available in FIFO order.
| Returns | |
None | Notify each waiter whose requested credits now fit. |