@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 616 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [fetchAndSaveRecommendations](./x-components.fetchandsaverecommendations.md)
## fetchAndSaveRecommendations variable
Default implementation for [RecommendationsActions.fetchAndSaveRecommendations()](./x-components.recommendationsactions.fetchandsaverecommendations.md) action.
**Signature:**
```typescript
fetchAndSaveRecommendations: (context: RecommendationsActionContext, request: RecommendationsRequest | null) => void | Promise<void>
```