UNPKG

@empathyco/x-components

Version:
23 lines (14 loc) 1.08 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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. |