mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-02 20:38:13 +08:00
Getting docs ready fro 0.2.0
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ Use :py:func:`async` from your code to quickly offload tasks to the py:module:`
|
||||
def print_result(task):
|
||||
print(task.result)
|
||||
|
||||
.. py:function:: async(func, *args, [hook=None,] **kwargs)
|
||||
.. py:function:: async(func, *args, hook=None, **kwargs)
|
||||
|
||||
Puts a task in the cluster queue
|
||||
|
||||
@@ -47,7 +47,7 @@ Use :py:func:`async` from your code to quickly offload tasks to the py:module:`
|
||||
:param str name: the name of the task
|
||||
:returns: The result of the executed task
|
||||
|
||||
.. py:function:: get_task(name)
|
||||
.. py:function:: fetch(name)
|
||||
|
||||
Returns a previously executed task
|
||||
|
||||
|
||||
Reference in New Issue
Block a user