ORIONIS API REFERENCE

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

class _LoopState: (source)

Constructor: _LoopState(loop)

View In Hierarchy

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.
def __init__(self, loop: asyncio.AbstractEventLoop): (source)

Bind admission counters and pool ownership to one event loop.

Parameters
loop:asyncio.AbstractEventLoopEvent loop that owns the resources.
Returns
NonePrepare the supplied loop to accept outbound exchanges.
def stop(self, generation: _Generation): (source)

Close admission and wake this generation's waiters without starting I/O.

Parameters
generation:_GenerationPool generation shared by active owners.
Returns
NoneDetach the generation and schedule its remaining cleanup if needed.

Number of reservations holding an active request slot.

Physical connection capacity shared by all pools on the loop.

Pool generation currently accepting exchanges.

Event loop that runs every exchange admitted through this state.

HTTP and headless owners retained across startup and shutdown calls.

Process identifier captured when this state was created.

Reservations awaiting a request slot in arrival order.