AbstractEventLoop.create_task(coro)
Schedule the execution of a coroutine object: wrap it in a future. Return a Task
object.
Third-party event loops can use their own subclass of Task
for interoperability. In this case, the result type is a subclass of Task
.
This method was added in Python 3.4.2. Use the async()
function to support also older Python versions.
New in version 3.4.2.
Please login to continue.