Task
Task
#
Bases: BaseTask
Task class.
Parameters:
-
callback(Callable[..., Any]) –Callback of the task.
-
delay(timedelta) –Cycle execution delay.
-
name(str, default:None) –Name of the task.
Attributes:
-
event_loop(AbstractEventLoop) –Event loop to which the task is attached.
-
handler(TimerHandle) –Handler of the task.
-
client(Client | None) –The client that the task is linked to.
-
name(str) –Name of the task.
-
callback(Callable[..., Any]) –Callback of the task.
-
delay(timedelta) –Cycle execution delay.