---
url: 'https://adk.nht.io/api/@nhtio/adk/types/type-aliases/DispatchThoughtStoreFn.md'
description: Stores a new thought (LLM execution context variant).
---

# Type Alias: DispatchThoughtStoreFn

```ts
type DispatchThoughtStoreFn = (
  ctx: DispatchContext,
  v: Thought,
) => void | Promise<void>;
```

Defined in: [lib/contracts/dispatch\_context.ts:117](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/dispatch_context.ts#L117)

Stores a new thought (LLM execution context variant).

## Parameters

| Parameter | Type                                                  |
| --------- | ----------------------------------------------------- |
| `ctx`     | [`DispatchContext`](../interfaces/DispatchContext.md) |
| `v`       | [`Thought`](../../common/classes/Thought.md)          |

## Returns

`void` | `Promise`<`void`>
