@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 738 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchActions](./x-components.searchactions.md) > [fetchAndSaveSearchResponse](./x-components.searchactions.fetchandsavesearchresponse.md)
## SearchActions.fetchAndSaveSearchResponse() method
Fetches a new search response and stores them in the module state.
**Signature:**
```typescript
fetchAndSaveSearchResponse(request: InternalSearchRequest | null): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| request | [InternalSearchRequest](./x-components.internalsearchrequest.md) \| null | |
**Returns:**
void