mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 21:20:56 +08:00
docs: updates for broker changes
This commit is contained in:
+2
-2
@@ -96,11 +96,11 @@ You can override this class if you want to contribute and support your own broke
|
||||
|
||||
.. py:method:: enqueue(task)
|
||||
|
||||
Sends a task package to the broker queue and returns a tracking id.
|
||||
Sends a task package to the broker queue and returns a tracking id if available.
|
||||
|
||||
.. py:method:: dequeue()
|
||||
|
||||
Gets a task package from the broker and returns a tuple with a tracking id and the package.
|
||||
Gets packages from the broker and returns a list of tuples with a tracking id and the package.
|
||||
|
||||
.. py:method:: acknowledge(id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user