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 _Generation: (source)

Constructor: _Generation()

View In Hierarchy

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

Initialize ownership and task tracking for a fresh pool.

Returns
NoneCreate an empty generation ready to accept its first owner.
async def drain(self): (source)

Finish accepted I/O before closing its transport on its own loop.

Returns
NoneReturn after the sends have settled and the transport has closed.

Drain task started by the final owner and awaited by concurrent closers.

Live application lifetimes sharing the transport.

Admitted tasks and the reservations that account for them.

Transport shared throughout this generation.