> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# streaming • AI Agents Framework

> streaming: Context manager for profiling streaming operations.

# streaming

Method

> This is a method of the [**ProfilerCompat**](https://praison.ai/docs/sdk/reference/praisonai/classes/ProfilerCompat.md) class in the [**profiler**](https://praison.ai/docs/sdk/reference/praisonai/modules/profiler.md) module.

Context manager for profiling streaming operations.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def streaming(name: str) -> Any
```

## Parameters

**name** `str` *required*

No description available.

### Returns

**Returns** `Any`

The result of the operation.

## Uses

* `streaming`
* `get_profiler`

## Used By

* [`ProfilerCompat.streaming`](../functions/ProfilerCompat-streaming)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L869)
>
> `praisonai/profiler.py` at line 869


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.