<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [fetchAndSaveSearchResponse](./x-components.fetchandsavesearchresponse.md)

## fetchAndSaveSearchResponse variable

Default implementation for [SearchActions.fetchAndSaveSearchResponse()](./x-components.searchactions.fetchandsavesearchresponse.md) action.

**Signature:**

```typescript
fetchAndSaveSearchResponse: (context: SearchActionContext, request: InternalSearchRequest | null) => void | Promise<void>
```
