We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import uasyncio as asyncio async def bar(x): count = 0 while True: count += 1 print('Instance: {} count: {}'.format(x, count)) await asyncio.sleep(1) # Pause 1s async def main(): for x in range(3): asyncio.create_task(bar(x)) await asyncio.sleep(10) asyncio.run(main())
Home