This document is for Kombu's development version, which can be significantly different from previous releases. Get the stable docs here: 4.1.
Timer - kombu.asynchronous.timer
¶
Timer scheduling Python callbacks.
-
class
kombu.asynchronous.timer.
Entry
(fun, args=None, kwargs=None)[source]¶ Schedule Entry.
-
args
¶
-
canceled
¶
-
cancelled
¶
-
fun
¶
-
kwargs
¶
-
tref
¶
-
-
class
kombu.asynchronous.timer.
Timer
(max_interval=None, on_error=None, **kwargs)[source]¶ Async timer implementation.
-
class
Entry
(fun, args=None, kwargs=None)¶ Schedule Entry.
-
args
¶
-
cancel
()¶
-
canceled
¶
-
cancelled
¶
-
fun
¶
-
kwargs
¶
-
tref
¶
-
-
enter_at
(entry, eta=None, priority=0, time=<function _monotonic>)[source]¶ Enter function into the scheduler.
Parameters: - entry (Entry) – Item to enter.
- eta (datetime.datetime) – Scheduled time.
- priority (int) – Unused.
-
on_error
= None¶
-
queue
¶ Snapshot of underlying datastructure.
-
schedule
¶
-
class