@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 729 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [RecommendationsActions](./x-components.recommendationsactions.md) > [fetchAndSaveRecommendations](./x-components.recommendationsactions.fetchandsaverecommendations.md)
## RecommendationsActions.fetchAndSaveRecommendations() method
Requests and saves to the state a list of recommendations.
**Signature:**
```typescript
fetchAndSaveRecommendations(request: RecommendationsRequest | null): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| request | RecommendationsRequest \| null | |
**Returns:**
void