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 _Subscription(AsyncClosable): (source)
Constructor: _Subscription(bus, listener)
An explicitly closable iterator, including before first iteration.
| Method | __aiter__ |
Return the subscription iterator. |
| Async Method | __anext__ |
Wait without losing wakeups; propagate cancellation after cleanup. |
| Method | __init__ |
Own exactly one listener registration. |
| Async Method | aclose |
Release request-owned resources immediately. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | _bus |
Undocumented |
| Instance Variable | _listener |
Undocumented |
Wait without losing wakeups; propagate cancellation after cleanup.
| Returns | |
Change | Result of the operation described above. |
Own exactly one listener registration.
| Parameters | |
bus:InMemoryMcpEventBus | Value supplied for bus. |
listener:_Listener | Value supplied for listener. |
| Returns | |
None | Complete the documented operation without returning a value. |
overrides
orionis.mcp.streams.AsyncClosable.acloseRelease request-owned resources immediately.
| Returns | |
None | Complete the documented operation without returning a value. |