> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute Callbacks • Rust AI Agent SDK

> execute_callbacks: Execute all callbacks (sync and async) for a display event

# execute\_callbacks

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**display**](../modules/display) module.

Execute all callbacks (sync and async) for a display event

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def execute_callbacks(event: &DisplayEvent) -> ()
```

## Parameters

<ParamField query="event" type="&DisplayEvent" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="()">
  The result of the operation.
</ResponseField>

## Uses

* `execute_sync_callbacks`
* `execute_async_callbacks`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/display.rs#L392">
  `praisonai/src/display.rs` at line 392
</Card>
