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