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
Limit admission across owned generations and temporary transports.
Waiting requests share a FIFO queue on this loop.
| Method | __init__ |
Bind admission counters and pool ownership to one event loop. |
| Method | stop |
Close admission and wake this generation's waiters without starting I/O. |
| Instance Variable | active |
Number of reservations holding an active request slot. |
| Instance Variable | budget |
Physical connection capacity shared by all pools on the loop. |
| Instance Variable | generation |
Pool generation currently accepting exchanges. |
| Instance Variable | loop |
Event loop that runs every exchange admitted through this state. |
| Instance Variable | named |
HTTP and headless owners retained across startup and shutdown calls. |
| Instance Variable | pid |
Process identifier captured when this state was created. |
| Instance Variable | waiting |
Reservations awaiting a request slot in arrival order. |
Bind admission counters and pool ownership to one event loop.
| Parameters | |
loop:asyncio.AbstractEventLoop | Event loop that owns the resources. |
| Returns | |
None | Prepare the supplied loop to accept outbound exchanges. |
Close admission and wake this generation's waiters without starting I/O.
| Parameters | |
generation:_Generation | Pool generation shared by active owners. |
| Returns | |
None | Detach the generation and schedule its remaining cleanup if needed. |