Skip to content

FlowResponseStreamReceiver

rboto-bedrock-agent-runtime==0.4.0 · Service index · Types

Public import: from rboto_bedrock_agent_runtime.types import FlowResponseStreamReceiver.

Used in: not referenced by operation signatures. Async stream. Consume once with async for; byte streams also support await stream.read(), which buffers the complete body.

class FlowResponseStreamReceiver:
    def __aiter__(self) -> AsyncIterator[FlowResponseStream]:
        ...
    def __anext__(self) -> Awaitable[FlowResponseStream]:
        ...
    def aclose(self) -> Awaitable[None]:
        ...
    def __aenter__(self) -> Awaitable[FlowResponseStreamReceiver]:
        ...
    def __aexit__(self, exc_type: type[BaseException] | None, exc: BaseException | None, traceback: TracebackType | None) -> Awaitable[None]:
        ...

FlowResponseStream, FlowResponseStreamReceiver