I am trying to reuse the code shown in the following SO post answer:
Especially the part that does:
async with sema, session.get(url) as response:
response = await response.read()
But I don't understand it.. how can 2 "contexts" (sema and session.get(url)) be combined into 1 variable?
Can anyone give me a quick explanation of that syntax?