Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

MemoryStreamOptions.md

22 lines706 Bytes

1---
2id: MemoryStreamOptions
3title: MemoryStreamOptions
4---
5​
6Defined in: [packages/ai/src/stream-durability.ts:242](https://github.com/TanStack/ai/blob/main/packages/ai/src/stream-durability.ts#L242)
7​
8Options for the in-process delivery-durability backend.
9​
10## Properties
11​
12### firstChunkDeadlineMs?
13​
14```ts
15optional firstChunkDeadlineMs?: number;
16```
17​
18Defined in: [packages/ai/src/stream-durability.ts:248](https://github.com/TanStack/ai/blob/main/packages/ai/src/stream-durability.ts#L248)
19​
20Milliseconds a from-start join waits for the run's first chunk before
21throwing. Defaults to DEFAULT\_FIRST\_CHUNK\_DEADLINE\_MS (100ms) —
22raise it if a producer can legitimately start long after a joiner attaches.