How will many threads async function call create?

后端 未结 0 1448
萌比男神i
萌比男神i 2020-12-07 04:59

Will the following code create 100000 threads?

async def f(i):
    await ....
    # ...

l = range(100000)
[x for x in [(i, await f(i)) for i in l]]


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题