@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 709 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [PopularSearchesActions](./x-components.popularsearchesactions.md) > [fetchAndSaveSuggestions](./x-components.popularsearchesactions.fetchandsavesuggestions.md)
## PopularSearchesActions.fetchAndSaveSuggestions() method
Fetches a new set of suggestions and stores them in the module state.
**Signature:**
```typescript
fetchAndSaveSuggestions(request: PopularSearchesRequest): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| request | PopularSearchesRequest | |
**Returns:**
void