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 InMemoryMcpEventBus(IMcpEventBus): (source)
Constructor: InMemoryMcpEventBus(buffer_size, max_listeners)
Coalesce duplicate changes and close overloaded listeners gracefully.
| Method | __init__ |
Set finite listener and per-listener buffer budgets. |
| Method | listen |
Register synchronously so publication cannot race acknowledgment. |
| Async Method | publish |
Publish without awaiting a slow client or creating producer tasks. |
| Method | remove |
Release an iterator even if it was closed before its first read. |
| Async Method | shutdown |
Stop admission and wake all consumers to send graceful completion. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | _closed |
Undocumented |
| Instance Variable | _listeners |
Undocumented |
| Instance Variable | _max |
Undocumented |
| Instance Variable | _size |
Undocumented |
| Property | listener |
Expose aggregate lifecycle diagnostics, without subscriber identity. |
Register synchronously so publication cannot race acknowledgment.
| Parameters | |
server:type | Value supplied for server. |
filters:SubscriptionFilter | Value supplied for filters. |
| Returns | |
AsyncIterator[Change] | Result of the operation described above. |
Stop admission and wake all consumers to send graceful completion.
| Returns | |
None | Complete the documented operation without returning a value. |