> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc-agui.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Background Execution

> Runnable workflow examples under: cookbook/04_workflows/06_advanced_concepts/background_execution.

| Example                                                                                                              | Description                                                                                                                  |
| -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| [Background Poll](/examples/workflows/advanced-concepts/background-execution/background-poll)                        | Demonstrates running a workflow in async background mode and polling run status until completion.                            |
| [Background Execution WebSocket Client](/examples/workflows/advanced-concepts/background-execution/websocket-client) | Demonstrates an interactive WebSocket client for authenticating, starting workflows, and rendering streamed workflow events. |
| [Background Execution WebSocket Server](/examples/workflows/advanced-concepts/background-execution/websocket-server) | Demonstrates running background workflows and streaming workflow events over WebSocket.                                      |
