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.

module documentation

Provide mcp operations through AsyncClosable, OwnedStream.

Class AsyncClosable Describe the awaited close operation of an owned asynchronous source.
Class OwnedStream Join source cleanup before propagating delivery errors or cancellation.
Function _caller_cancelled Identify new caller cancellation while an owned cleanup was awaited.
def _caller_cancelled(error: BaseException, cancellations: int) -> bool: (source)

Identify new caller cancellation while an owned cleanup was awaited.

Parameters
error:BaseExceptionOutcome of joining cleanup, which may itself have been cancelled.
cancellations:intCaller cancellation count recorded before the owned operation.
Returns
boolWhether the outcome carries a new cancellation request for this caller.