@empathyco/x-components
Version:
Empathy X Components
23 lines (14 loc) • 1.04 kB
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)
## PopularSearchesActions interface
Popular searches module actions.
**Signature:**
```typescript
export interface PopularSearchesActions
```
## Methods
| Method | Description |
| --- | --- |
| [cancelFetchAndSaveSuggestions()](./x-components.popularsearchesactions.cancelfetchandsavesuggestions.md) | Cancels / interrupt [PopularSearchesActions.fetchAndSaveSuggestions()](./x-components.popularsearchesactions.fetchandsavesuggestions.md) synchronous promise. |
| [fetchAndSaveSuggestions(request)](./x-components.popularsearchesactions.fetchandsavesuggestions.md) | Fetches a new set of suggestions and stores them in the module state. |
| [fetchSuggestions(request)](./x-components.popularsearchesactions.fetchsuggestions.md) | Fetches a new set of suggestions and returns them. |