Which programming language is this?
async def fetch(url):
async with session.get(url) as r:
return await r.json()
Answer: Python
async def and async with are Python's asynchronous syntax.
Play Programming Languages ▸
async def fetch(url):
async with session.get(url) as r:
return await r.json()
Answer: Python