From 98fe8707d983ef4b9f10cab28a1a540b8dafc078 Mon Sep 17 00:00:00 2001
From: ChrisLovering
Return True if a task with the given task_id is currently scheduled.
task_id (Hashable) – The task to look for.
task_id (Hashable) – The task to look for.
True if the task was found.
Initialize a new Scheduler instance.
Unschedule the task identified by task_id. Log a warning if the task doesn’t exist.
Unschedule all known tasks.
time (datetime) – The time to start the task.
task_id (Hashable) – A unique ID to create the task with.
coroutine (Coroutine) – The function to be called.
time (datetime) – The time to start the task.
task_id (Hashable) – A unique ID to create the task with.
coroutine (Coroutine) – The function to be called.
delay (Union[int, float]) – How long to wait before starting the task.
task_id (Hashable) – A unique ID to create the task with.
coroutine (Coroutine) – The function to be called.
delay (Union[int, float]) – How long to wait before starting the task.
task_id (Hashable) – A unique ID to create the task with.
coroutine (Coroutine) – The function to be called.
coro (Coroutine[Any, Any, TypeVar(TASK_RETURN)]) – The function to call.
suppressed_exceptions (tuple[type[Exception], ...]) – Exceptions to be handled by the task.
coro (Coroutine[Any, Any, TypeVar(TASK_RETURN)]) – The function to call.
suppressed_exceptions (tuple[type[Exception], ...]) – Exceptions to be handled by the task.
event_loop (asyncio.AbstractEventLoop) – The loop to create the task from.
kwargs – Passed to asyncio.create_task().