> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/fabric/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/fabric/_mcp/server.

# Streaming

> Consume raw NVIDIA NeMo Relay ATOF records and terminal invocation results.

# <kbd>module</kbd> `nemo_fabric.streaming`

NeMo Relay streaming support for the NVIDIA NeMo Fabric Python SDK.



---


## <kbd>class</kbd> `InvokeStream`

Async iterator of raw ATOF records for one runtime invocation.

Consume the final normalized result separately with :meth:`result`. If iteration stops early, call :meth:`aclose` before starting another turn.




---


### <kbd>method</kbd> `aclose`

```python
async def aclose() -> None
```

Stop iteration and drain this turn without cancelling the invocation.

---


### <kbd>method</kbd> `result`

```python
async def result() -> RunResult
```

Return the terminal normalized result without adding it to the stream.




---

_This file was automatically generated via [lazydocs](https://github.com/ml-tooling/lazydocs)._