Skip to content

orchestra_view

orchestra_view

Orchestra view: IPC reads for the public fleet page (GH #468).

Classes

OrchestraView

OrchestraView(client)

Snapshot, replay and live beats from the conductor's orchestra recorder.

Source code in src/marianne/dashboard/services/orchestra_view.py
def __init__(self, client: DaemonClient) -> None:
    self._client = client
Methods:
beats async
beats()

Live projected events; ends when the conductor closes the stream.

Source code in src/marianne/dashboard/services/orchestra_view.py
async def beats(self) -> AsyncIterator[dict[str, Any]]:
    """Live projected events; ends when the conductor closes the stream."""
    async for params in self._client.stream("daemon.orchestra.stream"):
        yield params

Functions: