MCPcopy
hub / github.com/microsoft/agent-lightning / _async_task

Function _async_task

tests/benchmark/micro_benchmark.py:148–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 store = agl.LightningStoreClient(store_url)
147
148 async def _async_task() -> None:
149 await store.dequeue_rollout(worker_id=worker_id)
150 await store.update_worker(worker_id, system_snapshot())
151
152 try:
153 asyncio.run(_async_task())

Callers 4

_rollout_flow_taskFunction · 0.85
_dequeue_only_taskFunction · 0.85

Calls 9

system_snapshotFunction · 0.90
_make_spanFunction · 0.70
dequeue_rolloutMethod · 0.45
update_workerMethod · 0.45
start_rolloutMethod · 0.45
add_spanMethod · 0.45
update_attemptMethod · 0.45
add_many_spansMethod · 0.45

Tested by

no test coverage detected