# Interface CreateStreamOptions

Options for creating a stream.

interface CreateStreamOptions {
signal?: AbortSignal;
maxBufferSize?: number;
}

- Defined in packages/nexus-agents/src/adapters/streaming-types.ts:39

##### Index

### Properties

signal?
maxBufferSize?

## Properties

### `Optional` signal

signal?: AbortSignal

AbortSignal for cancellation support

- Defined in packages/nexus-agents/src/adapters/streaming-types.ts:41

### `Optional` maxBufferSize

maxBufferSize?: number

Maximum buffer size for backpressure (default: 100)

- Defined in packages/nexus-agents/src/adapters/streaming-types.ts:43