> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# StreamStrategy

> Type alias exported by @botmesh/core.

```ts theme={null}
type StreamStrategy = "draft" | "edit" | "chunk" | "buffer";
```

Defined in: [streaming/types.ts:36](https://github.com/andresayac/botmesh/blob/main/packages/core/src/streaming/types.ts#L36)

How a stream is rendered:

* `'draft'`  native ephemeral preview updated in place, then one final message.
* `'edit'`   send the first text, then throttled edits of that message.
* `'chunk'`  no live preview: sentence-sized messages with typing between them.
* `'buffer'` collect everything (typing meanwhile), then send it once (split if long).


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