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

Constructor: _MiddlewareNext(terminal, args)

View In Hierarchy

Hold one request-local continuation that can be consumed only once.

Async Method __call__ Advance once, including when concurrent tasks call the continuation.
Method __init__ Bind a continuation to its fixed arguments.
Class Variable __slots__ Undocumented
Instance Variable _args Undocumented
Instance Variable _called Undocumented
Instance Variable _terminal Undocumented
async def __call__(self) -> T: (source)

Advance once, including when concurrent tasks call the continuation.

Returns
ResponseResponse returned by the next middleware or handler.
Raises
RuntimeErrorIf the middleware already consumed this continuation.
def __init__(self, terminal: Callable, args: tuple): (source)

Bind a continuation to its fixed arguments.

Parameters
terminal:CallableAsynchronous next middleware or handler.
args:tupleArguments supplied when advancing the pipeline.
Returns
NoneThe continuation is ready for one invocation.
__slots__: tuple[str, ...] = (source)

Undocumented

Undocumented

Undocumented

_terminal = (source)

Undocumented