UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 757 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RelatedPromptsActions](./x-components.relatedpromptsactions.md) &gt; [fetchAndSaveRelatedPrompts](./x-components.relatedpromptsactions.fetchandsaverelatedprompts.md) ## RelatedPromptsActions.fetchAndSaveRelatedPrompts() method Requests a new set of related prompts and stores them in the module. **Signature:** ```typescript fetchAndSaveRelatedPrompts(request: RelatedPromptsRequest | null): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | request | RelatedPromptsRequest \| null | The related prompts request. | **Returns:** void