@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 562 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FetchAndSaveHooks](./x-components.fetchandsavehooks.md) > [onSuccess](./x-components.fetchandsavehooks.onsuccess.md)
## FetchAndSaveHooks.onSuccess property
Asynchronous callback executed when the [FetchAndSaveHooks.fetch](./x-components.fetchandsavehooks.fetch.md) is performed successfully.
**Signature:**
```typescript
onSuccess: (context: Context, response: Response) => void;
```