---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/interfaces/IsolatedServiceSpecInput.md
description: 'Input shape accepted by [`defineIsolatedService`](https://adk.nht.io/api/@nhtio/adk/batteries/functions/defineIsolatedService).'
---

# Interface: IsolatedServiceSpecInput\<M, S, E>

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

Input shape accepted by [defineIsolatedService](../functions/defineIsolatedService.md).

## Type Parameters

| Type Parameter                                            | Default type                                |
| --------------------------------------------------------- | ------------------------------------------- |
| `M` *extends* [`MethodMap`](../type-aliases/MethodMap.md) | [`MethodMap`](../type-aliases/MethodMap.md) |
| `S` *extends* [`StreamMap`](../type-aliases/StreamMap.md) | [`StreamMap`](../type-aliases/StreamMap.md) |
| `E` *extends* [`EventMap`](../type-aliases/EventMap.md)   | [`EventMap`](../type-aliases/EventMap.md)   |

## Properties

| Property                                 | Type     | Description                                                                | Defined in                                                                                                                        |
| ---------------------------------------- | -------- | -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|  `events?`   | `E`      | Unsolicited event channels, keyed by name. Default `{}`.                   | [src/batteries/isolation/types.ts:166](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L166) |
|  `methods?` | `M`      | Request/response methods, keyed by name. Default `{}`.                     | [src/batteries/isolation/types.ts:162](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L162) |
|  `name`        | `string` | Used in error messages and observability reports to identify this service. | [src/batteries/isolation/types.ts:160](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L160) |
|  `streams?` | `S`      | Fire-and-forward streaming methods, keyed by name. Default `{}`.           | [src/batteries/isolation/types.ts:164](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/types.ts#L164) |
