mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-27 22:38:12 +08:00
adds cached option to async_iter
This commit is contained in:
+3
-2
@@ -320,11 +320,12 @@ Reference
|
||||
|
||||
.. py:function:: async_iter(func, args_iter,**kwargs)
|
||||
|
||||
Runs iterable arguments against the cache backend and returns a single collated result
|
||||
Runs iterable arguments against the cache backend and returns a single collated result.
|
||||
Accepts the same options as :func:`async` except ``hook``.
|
||||
|
||||
:param object func: The task function to execute
|
||||
:param args: An iterable containing arguments for the task function
|
||||
:param dict kwargs: Keyword arguments for the task function. Ignores ``cached`` and ``hook``.
|
||||
:param dict kwargs: Keyword arguments for the task function. Ignores ``hook``.
|
||||
:returns: The uuid of the task
|
||||
:rtype: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user