(coro)
| 30 | start = time.time() |
| 31 | with tqdm.tqdm(total=len(tasks)) as pbar: |
| 32 | async def _tsk(coro): |
| 33 | ret = await coro |
| 34 | pbar.update(1) |
| 35 | return ret |
| 36 | tasks = [_tsk(t) for t in tasks] |
| 37 | responses = await asyncio.gather(*tasks) |
| 38 | end = time.time() |