Profile Async • AI Agents Framework
profile_async: Decorator to profile an async function.
profile_async
Function
</div>
This function is defined in the profiler module.
Decorator to profile an async function.
Signature
def profile_async(func: Optional[Callable]) -> AnyParameters
ParamField
Optional[Callable]No description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
Profiler.is_enabledfntime.timeProfiler.record_timingProfiler.record_flowfunctools.wrapsdecorator
Source
View on GitHubpraisonai/profiler.py at line 1022