@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 597 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [fetchAndSavePopularSearches](./x-components.fetchandsavepopularsearches.md)
## fetchAndSavePopularSearches variable
Default implementation for [PopularSearchesActions.fetchAndSaveSuggestions()](./x-components.popularsearchesactions.fetchandsavesuggestions.md) action.
**Signature:**
```typescript
fetchAndSaveSuggestions: (context: PopularSearchesActionContext, request: PopularSearchesRequest) => void | Promise<void>
```