@empathyco/x-components
Version:
Empathy X Components
19 lines (13 loc) • 738 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [XEventsTypes](./x-components.xeventstypes.md) > [SnippetCallbackExecuted](./x-components.xeventstypes.snippetcallbackexecuted.md)
## XEventsTypes.SnippetCallbackExecuted property
A callback from the snippet has been executed. Payload: An object containing the event that executed the callback, the callback result, and the original event payload and metadata.
**Signature:**
```typescript
SnippetCallbackExecuted: {
event: XEvent;
callbackReturn: unknown;
payload: ExtractPayload<XEvent>;
metadata: WireMetadata;
};
```