<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XEventsTypes](./x-components.xeventstypes.md) &gt; [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;
    };
```
