# consume_async_iterator

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/_utils/_streams/consume_async_iterator)

## Signature

```python
consume_async_iterator(
    iterator: AsyncIterator[Any],
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/33995e14a84c53b65b82482b3d2fe0624b379bda/python/langsmith/_openapi_client/_utils/_streams.py#L10)