@empathyco/x-components
Version:
Empathy X Components
27 lines (15 loc) • 752 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) > [fetchRecommendations](./x-components.recommendationsactions.fetchrecommendations.md)
## RecommendationsActions.fetchRecommendations() method
Requests and returns a list of recommendations based on the module state.
**Signature:**
```typescript
fetchRecommendations(request: RecommendationsRequest | null): Result[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| request | RecommendationsRequest \| null | |
**Returns:**
Result\[\]
A new list of results.