MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / async_wrapper

Function async_wrapper

fastdeploy/metrics/trace.py:751–753  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

749
750 @wraps(func)
751 async def async_wrapper(*args, **kwargs):
752 with tracer.start_as_current_span(name):
753 return await func(*args, **kwargs)
754
755 return async_wrapper
756

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected