---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/type-aliases/IsolatedEmitter.md'
description: >-
  Emit an event declared on a spec — the guest-side capability handed alongside
  the implementation.
---

# Type Alias: IsolatedEmitter\<S>

```ts
type IsolatedEmitter<S> = {
  [K in keyof S["events"]]: (payload: EventPayload<S["events"][K]>) => void;
};
```

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

Emit an event declared on a spec — the guest-side capability handed alongside the implementation.

## Type Parameters

| Type Parameter                                                              |
| --------------------------------------------------------------------------- |
| `S` *extends* [`IsolatedServiceSpec`](../interfaces/IsolatedServiceSpec.md) |
