|
|
|
|
|
by orf
3431 days ago
|
|
^ this, but be aware that it's only worth it if you do > 1 external call in parallel. I.E this is pointless: res = await get('https://somesite.com')
return Response(res['data'])
As you'd get the same thing if you just did it synchronously (without the await). But if you want to fetch 2 or more pages in parallel when it really pays off. |
|