> ## 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.

# StreamSource

> Type alias exported by @botmesh/core.

```ts theme={null}
type StreamSource = 
  | AsyncIterable<string | Uint8Array>
  | Iterable<string>
| ReadableStream<string | Uint8Array>;
```

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

Anything that yields text pieces: an async iterable (async generator, Node
`Readable`), a web `ReadableStream`, or a plain sync iterable. Byte chunks
(`Uint8Array`/`Buffer`) are decoded as UTF-8.


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