class asyncio.Task(coro, *, loop=None)
Schedule the execution of a coroutine: wrap it in a future. A task is a subclass of Future.
A task is responsible for executing a coroutine object in an event loop. If the wrapped coroutine yields from a future, the task suspends the execution of the wrapped coroutine and waits for the completition of the future. When the future is done, the execution of the wrapped coroutine restarts with the result or the exception of the future.
Event loops use coope