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

Bind tasks to an HTTP, CLI or headless lifetime.

The token records the loop state and the generation to release.

Method __init__ Associate an application lifetime with its pool generation.
Instance Variable closed Whether this owner has relinquished its share of the pool.
Instance Variable generation Pool kept alive by the owner until release.
Instance Variable kind Application entry point responsible for this owner.
Instance Variable state Loop that admitted this lifecycle.
def __init__(self, state: _LoopState, generation: _Generation, kind: Kind): (source)

Associate an application lifetime with its pool generation.

Parameters
state:_LoopStateAdmission counters and generation for the owning loop.
generation:_GenerationPool generation shared by active owners.
kind:KindFramework entry point acquiring the resource.
Returns
NoneKeep the owner attached to the supplied loop and generation.

Whether this owner has relinquished its share of the pool.

Pool kept alive by the owner until release.

Application entry point responsible for this owner.

Loop that admitted this lifecycle.