Async audit client
For FastAPI, asyncio agents, and other async runtimes:Differences from sync client
| Feature | Sync Client | AsyncClient |
|---|---|---|
| HTTP library | requests | httpx |
| Batching | Background thread | asyncio task |
| Context manager | close() / atexit | async with |
| Read/verify/export | ✓ | ✓ |
AsyncClient.telemetry.
Async Telemetry
When usingAsyncClient, telemetry execution and span context managers are asynchronous and run completely non-blocking in the background: