UNPKG

@empathyco/x-components

Version:
27 lines (15 loc) 752 B
<!-- 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) &gt; [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.