---
url: 'https://adk.nht.io/api/@nhtio/adk/types/type-aliases/RetrievableStoreFn.md'
description: Stores a new retrievable record in the persistence layer.
---

# Type Alias: RetrievableStoreFn

```ts
type RetrievableStoreFn = (
  ctx: TurnContext,
  v: Retrievable,
) => void | Promise<void>;
```

Defined in: [lib/contracts/turn\_runner\_context.ts:184](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/turn_runner_context.ts#L184)

Stores a new retrievable record in the persistence layer.

## Parameters

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

## Returns

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