Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import asyncio
async def async_func():
print('Velotio ...')
await asyncio.sleep(1)
print('... Blog!')
async def main():
task = asyncio.create_task (async_func())
await task
asyncio.run(main())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment