---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/interfaces/MethodDescriptor.md'
description: >-
  A method descriptor produced by [`method`](https://adk.nht.io/api/@nhtio/adk/batteries/functions/method). Carries the declared runtime
  options plus phantom (never-constructed) fields that pin down the argument
  tuple and return type for the mapped types below — reading
  `descriptor.__args`/`descriptor.__result` at the TYPE level only, never at
  runtime.
---

# Interface: MethodDescriptor\<A, R>

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

A method descriptor produced by [method](../functions/method.md). Carries the declared runtime options plus phantom
(never-constructed) fields that pin down the argument tuple and return type for the mapped types
below — reading `descriptor.__args`/`descriptor.__result` at the TYPE level only, never at runtime.

## Extends

* [`MethodOptions`](MethodOptions.md)

## Type Parameters

| Type Parameter            | Default type |
| ------------------------- | ------------ |
| `A` *extends* `unknown`\[] | `unknown`\[]  |
| `R`                       | `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:73](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L73) |
|  `__result?` | `readonly` | `R`                                         | Phantom-only: never assigned a real value. Pins the resolved result type.                                                                                                                                                                                                                                                                                                                                        | -                                                                                | [src/batteries/isolation/types.ts:75](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L75) |
|  `codec?`       | `public`   | [`CodecMode`](../type-aliases/CodecMode.md) | Override the codec tier for this method's arguments and return value. Default: `'auto'`.                                                                                                                                                                                                                                                                                                                         | [`MethodOptions`](MethodOptions.md).[`codec`](MethodOptions.md#property-codec)   | [src/batteries/isolation/types.ts:52](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L52) |
|  `kind`          | `readonly` | `"method"`                                  | Discriminant identifying this descriptor as a method (vs. a stream or event).                                                                                                                                                                                                                                                                                                                                    | -                                                                                | [src/batteries/isolation/types.ts:71](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L71) |
|  `signal?`     | `public`   | `boolean`                                   | When `true`, the facade's generated method accepts a trailing `AbortSignal` and the guest implementation receives a trailing [IsolationCallContext](IsolationCallContext.md) carrying that signal. When omitted/`false`, a trailing signal argument is still accepted on the facade (for call-site uniformity) but is not forwarded anywhere meaningful — the implementation is never given a context parameter. | [`MethodOptions`](MethodOptions.md).[`signal`](MethodOptions.md#property-signal) | [src/batteries/isolation/types.ts:50](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L50) |
