@empathyco/x-components
Version:
Empathy X Components
23 lines (14 loc) • 1.08 kB
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)
## RecommendationsActions interface
Recommendations store actions.
**Signature:**
```typescript
export interface RecommendationsActions
```
## Methods
| Method | Description |
| --- | --- |
| [cancelFetchAndSaveRecommendations()](./x-components.recommendationsactions.cancelfetchandsaverecommendations.md) | Cancels / interrupt [RecommendationsActions.fetchAndSaveRecommendations()](./x-components.recommendationsactions.fetchandsaverecommendations.md) synchronous promise. |
| [fetchAndSaveRecommendations(request)](./x-components.recommendationsactions.fetchandsaverecommendations.md) | Requests and saves to the state a list of recommendations. |
| [fetchRecommendations(request)](./x-components.recommendationsactions.fetchrecommendations.md) | Requests and returns a list of recommendations based on the module state. |