---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/interfaces/StreamDescriptor.md'
description: >-
  A stream descriptor produced by [`stream`](https://adk.nht.io/api/@nhtio/adk/batteries/functions/stream). Phantom-typed like {@link
  MethodDescriptor}.
---

# Interface: StreamDescriptor\<A, D>

Defined in: [src/batteries/isolation/types.ts:79](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L79)

A stream descriptor produced by [stream](../functions/stream.md). Phantom-typed like [MethodDescriptor](MethodDescriptor.md).

## Extends

* [`StreamOptions`](StreamOptions.md)

## Type Parameters

| Type Parameter            | Default type |
| ------------------------- | ------------ |
| `A` *extends* `unknown`\[] | `unknown`\[]  |
| `D`                       | `unknown`    |

## Properties

| Property                                 | Modifier   | Type                                        | Description                                                                        | Inherited from                                                                 | Defined in                                                                                                                      |
| ---------------------------------------- | ---------- | ------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|  `__args?`   | `readonly` | `A`                                         | Phantom-only: never assigned a real value. Pins the argument tuple type.           | -                                                                              | [src/batteries/isolation/types.ts:86](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L86) |
|  `__delta?` | `readonly` | `D`                                         | Phantom-only: never assigned a real value. Pins the per-chunk delta type.          | -                                                                              | [src/batteries/isolation/types.ts:88](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L88) |
|  `codec?`     | `public`   | [`CodecMode`](../type-aliases/CodecMode.md) | Override the codec tier for this stream's arguments and deltas. Default: `'auto'`. | [`StreamOptions`](StreamOptions.md).[`codec`](StreamOptions.md#property-codec) | [src/batteries/isolation/types.ts:58](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L58) |
|  `kind`        | `readonly` | `"stream"`                                  | Discriminant identifying this descriptor as a stream (vs. a method or event).      | -                                                                              | [src/batteries/isolation/types.ts:84](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L84) |
