Using asyncio.create_task()
dusa

dusa @imdusa

About: I write short articles about everything I learn.

Joined:
May 16, 2024

Using asyncio.create_task()

Publish Date: Aug 28 '24
0 0

In Python, asyncio.create_task() is a function provided by the asyncio library. It is used to create a new asynchronous task and schedule it to be run in the event loop. The function returns an asyncio.Task object, which represents the scheduled coroutine and allows you to track its progress or result. I want to show you my own example:

import and create class:

Image description

Image description

Comments 0 total

    Add comment