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 transport operations through StandardReader, StandardWriter.

Class StandardReader Read at most one queued frame using an interruptible async queue boundary.
Class StandardWriter Serialize bounded queued output without blocking async cancellation.
Function _finish_write Settle a write future on its owning loop or observe a late write error.
def _finish_write(future: asyncio.Future[None], error: Exception | None, runtime: FailureRuntime | None = None): (source)

Settle a write future on its owning loop or observe a late write error.

Parameters
future:asyncio.Future[None]Delivery acknowledgement to settle; leave completed futures unchanged.
error:Exception or NoneWrite or flush error, or None for successful delivery.
runtime:orionis.failure.runtime.FailureRuntime or None, optionalRuntime used to observe errors after the acknowledgement has finished.
Returns
NoneSettle a pending acknowledgement, or observe an error if it is already done.