# Function concatStreams

Adapters exports - Model adapters (Claude, OpenAI, Gemini, Ollama) Split from index.ts for file size compliance (Issue #285)

- concatStreams<T>(
  streams: AsyncIterable<T, any, any>[],
  options?: { signal?: AbortSignal },
  ): AsyncIterable<T>

  Concatenates multiple streams sequentially.

  #### Type Parameters

  - T

  #### Parameters

  - streams: AsyncIterable<T, any, any>[]

    The streams to concatenate

  - options: { signal?: AbortSignal } = {}

    Options including optional AbortSignal

  #### Returns AsyncIterable<T>

  Concatenated stream

  - Defined in packages/nexus-agents/src/adapters/stream-operators-helpers.ts:76