shell
pip install vex
python
import vex
async def fetch(url):
response = await vex.get(url)
print(response)
vex.run(fetch('https://www.example.com'))
python
import vex
async def task1():
print('Task 1')
async def task2():
print('Task 2')
vex.run(vex.all(task1(), task2()))
python
vex.set_pool_size(10)
python
vex.set_timeout(5)