arun • AI Agent SDK
arun: Run checks without blocking an async caller's event loop.
arun
Async
Method
</div>
This is a method of the HealthCheckRegistry class in the health_registry module.
Run checks without blocking an async caller’s event loop.
Checks may provide `adetect and arepair coroutine methods. Synchronous implementations are isolated with asyncio.to_thread`.
Signature
async def arun(context: Mapping[str, Any]) -> List[HealthCheckResult]Parameters
ParamField
Mapping[str, Any]No description available.
Returns
ResponseField
List[HealthCheckResult]The result of the operation.
Uses
callableasync_fninspect.isawaitableasyncio.to_threadget_checksHealthCheckResultFindingTypeError
Used By
Source
View on GitHubpraisonaiagents/runtime/health_registry.py at line 137